Quote:
Originally Posted by danielmei
Hi,
I am searching a way to populate dynamic data to a jface tableviewer.
I know the number of columns at runtime. But not to compile Time.
I decided to have a Data object. This Data object has a List of rows.
One row has a few fix columns but additional a list of dynamic columns, which I know at runtime.
I am not so kind with SWT and JFace. The examples and tutorials did not help me. In javascript I would add dynamic attributes to the row object.
Has anybody an idea or a hint for me, what schould I do?
Thanks in advance,
Daniel
|
Hi
Possibly what you could do to have a TableViewer with all the required columns, then simply set the column width to zero for columns you do not wish to show when certain conditions arise.
Hope this helps a little.
CBMMelb