first record should be selected when loading the data in advance datagrid
I have a advanced datagrid and displying the 10 开发者_运维知识库records. but when loading the data, the first record should be selected. Can you please help me how to do it.
Thanks, Ravi
If the dataProvider
is updated dynamically, just call grid.selectedIndex = 0;
after updating it. Otherwise, call it from the creationComplete
handler.
精彩评论