|how to replace a TableViewer in a wizard page [message #500594]
||Thu, 26 November 2009 22:26
Originally posted by: yoduderoo.netscape.net|
I have a wizard page containing a table viewer which displays tabular
data depending on how the user entered a given field. The user can
clear the field, enter something else and a new table is displayed. The
headings and number of columns is different depending on that input.
I am having a hard time figuring out how to do this. I create a
composite to contain the TableViewer. Should I dispose that and somehow
clear it before redrawing? Do I recreate a new tableviewer each time and
then call the composite's layout() method?
I keep trying various approaches but am getting nowhere.
Powered by FUDForum
. Page generated in 0.02757 seconds