3.2.0

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
July 17,
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)
July 18,

This topic is archived.

See also:


Back to support forum