<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: add custom column into RTable</title><link>https://answers.axonivy.com/questions/1806/add-custom-column-into-rtable</link><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;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(...)&lt;/p&gt;
&lt;p&gt;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 (&amp;gt;7000 chars) in it, but i can not edit it or create new one.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Is there a way for such thing ?&lt;/p&gt;
&lt;p&gt;Thanks in advance
josef koupal&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1806/add-custom-column-into-rtable" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 30 Jul 2024 07:09:25 -0000</lastBuildDate></channel></rss>