3.2.0

How to select first row when grid data is loading?

i want automatically select first row when data loaded to the grid.
i.e:first row should be in blue which is the default color when user click on a row.
pasindu
March 25,
Hi Pasindu

The Following code will solve your problem

obj.setSelectedRows([rowtoHighlight]);
obj.setCurrentRow(rowtoHighlight);
document.getElementById(obj.getId()).focus();

Basva
March 25,

This topic is archived.

See also:


Back to support forum