开发者

first record should be selected when loading the data in advance datagrid

开发者 https://www.devze.com 2023-01-08 02:34 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消