开发者

How to get checked row of data grid in java script?

I'm using the DataGrid control with template columns. I m getting the data in datagrid but I'm having trouble accessing the data of checked row using java script. How can i ac开发者_JAVA技巧hive dis using java script?


I don't know about the exact implementation of your data grid but this is how we check it using javascript:

if (document.getElementById('checkbox_id_here').checked == true)
{
  // yes it is checked
}
else
{
  // no it is not checked
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜