-
1. Re: extendedDataTable+java datamodel
ilya_shaikovsky Jan 15, 2009 11:12 AM (in response to shiocaltz)use ExtendedTableDataModel
-
2. Re: extendedDataTable+java datamodel
shiocaltz Jan 15, 2009 12:45 PM (in response to shiocaltz)uau, that wast fast.... thank for replying in such a short notice.
i have tried the ExtendedTableDataModel, i provided in it's constructor a class implementing the DataProvider interface.
the action triggered by the button on the same form but outside the table doesn't throw exception anymore, but i still can't get the selected row on the table. The table's getRowData method returns null. The button only has an action, nu ajaxSingle or bypassUpdates flags set.
ty -
3. Re: extendedDataTable+java datamodel
nbelaevski Jan 15, 2009 1:16 PM (in response to shiocaltz)Hello,
What version do you use? -
4. Re: extendedDataTable+java datamodel
shiocaltz Jan 15, 2009 3:39 PM (in response to shiocaltz)hello,
i am using version 3.3.0 CR3.
I have solved the problem by implementing that interface, but i still need to figure out how to determine the correct object that is on the selected row, given the context of sorting. If the table is not sorted, then i get the object that it should be, but if i sort the grid by any header, the rowKeyVar gets all messed up so the selected object is not the real one.
Any ideas on this issue?
Or else maybe you have another way of determining the selected object when the submit is not from within the table...
Thanks