Hello!

Is there a runtime possibility of creating a new column in designed ivy-RTable ? I have tried to do it with java in onLoad method of RichDialog - no success. Adding an empty column and setting header text is ok so far. I add a Custom implemented ITableCellRenderer and override the one and only method getTableCellRendererComponent(...)

Renderer of designed ivy table column is of type ch.ivyteam.ivy.richdialog.widgets.components.renderers.TableCellRenderer. This type if for me in designer not accessible. Using debugger i have seen the table model configuration String (>7000 chars) in it, but i can not edit it or create new one.

When i try to use my custom renderer for new column, e.g. com.ulcjava.base.application.table.DefaultTableCellRenderer or ULCLabel, i am never able to render the text in this column. I have tried multiple methods (setText(), setValue(), "value" parameter...) but cell is always rendered empty. the only thing i can set is background color.

Is there a way for such thing ?

Thanks in advance josef koupal

asked 14.06.2016 at 17:02

josef_koupal's gravatar image

josef_koupal
26446
accept rate: 25%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×40
×7
×5

Asked: 14.06.2016 at 17:02

Seen: 389 times

Last updated: 14.06.2016 at 17:02