:: Forum >>

setCurrentRow() and setSelectedRows()

What is the difference between - Regarding setCurrentRow() and setSelectedRows() ?

If I am programtically selecting a row, I need to always call both - setCurrentRow(i) and setSelectedRows([i]), correct ?

But when I select a row manually, is getCurrentRow() = getSelectedRows()[0] always true, in case of a single row select mode ?

Please advice...
JJ
Thursday, July 17, 2008
If multiple selection is allowed the selectedRows contains an array of all selected row indices, while the currentRow is the current row (navigation cursor). In single selection mode selectedRows array just contains an array of one item, which is currentRow index.
Alex (ActiveWidgets)
Friday, July 18, 2008

This topic is archived.


Back to support forum

Forum search