Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

ListGrid selectRecord(0) does not work because the index is not zero based.

$
0
0
SmartGWT 4.1d LGPL 2013-11-07

Wanted to get this out there in the forum for others to see....

In my DataArrivedHandler.onDataArrived method I was going crazy because ListGrid setRecord(0) or setSingleRecord(0) wasn't working.

I later noticed the index is 1 based. setRecord(1) / setSingleRecord(1) selected the first item in the list.

Thanks,
-B

Viewing all articles
Browse latest Browse all 4756

Trending Articles