jqgrid - accessing the cells of the selected row in a jq grid from code behind -
i have jqgrid in aspx page , when user clicks on row of grid want cells of grid selected row in code behind. possible without using jquery..??
thanks -vishu.
you need add onselectrow callback jqgrid definition. callback called every time when user select row. onselectrow
callback receive id
of selected row value of first parameter. inside of onselectrow
callback can use $(this).jqgrid("getrowdata", id)
object represent cells of selected row. names of properties of object same name
properties of colmodel
columns.
Comments
Post a Comment