How can I get row information when I click a cell to select a row?
Note: I don't want to add an html button and attach a function to the button. I want to attach code to the event that selects the row when I click it (if you could tell me what event that is and how to catch it, that would be a good start)
About events on jqGrid, I found this page:
About the selected row information, read this:
try to find the Q & A of: How can i get IDs or Data of the selected rows of grid?
Agust is correct, you can see faqs. And just to catch the on_select_row event, please refer custom-events.php example.
$e["js_on_select_row"] = "do_onselect";
var rd = jQuery('#list1').jqGrid('getCell', id, 'company'); // where invdate is column name
Is this feature available in the free version or is this a premium only feature?
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!