radgrid行选择 [英] radgrid row selection
本文介绍了radgrid行选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我选中Radgrid中的复选框时,我需要知道选定的行数.
请提供一个好方法.
问候,
shefeek
Hi,
I need to know the selected rows'' count when I check the check box in the Radgrid.
Please provide a good way.
regards,
shefeek
推荐答案
您可以使用此代码在客户端获取选定的行数:
You can use this code to get the selected rows count in client side :
find("<%= RadGrid1.ClientID %>").get_masterTableView().get_dataItems().length;
find("<%= RadGrid1.ClientID %>").get_masterTableView().get_dataItems().length;
希望这会有所帮助.
一切顺利.
Hope this helps.
All the best.
这篇关于radgrid行选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文