Ken,
> - I can update the table data using a handler (where number of columns
> etc might be different, right? Because I have some drop down boxes on
> the page and depending on the input number of columns could change.
> Yes, however, when the data changes you'll need to recreate the
> table. You can do this by navigate()'ing or redirect()'ing to the
> same page. You can't simply refresh the page since that does not
> recreate the table.
But if I redirect to the same page, will the beforeCreate events will
run again or not? If I redirect to the same page, I would have to use
pageSession instead of attribute?
Before I was passing the new table data and tableRowGroup id to a
handler (called from command event) which will eventually use
setLists(newData) function of MultipleListDataProvider and update the
existing table. Now moving forward I am thinking I need to pass new
table data, column names data and new tableRowGroup id to the same kind
of handler to update the data. Will that not work?
thanks
Karam