identify the title of the selected column in the event on_select_row

Questionsidentify the title of the selected column in the event on_select_row
josep asked 10 years ago

hello

How do I can identify the title of the selected column in the event

on_select_row?

thanks

1 Answers
Abu Ghufran answered 10 years ago

On client side, you can have row details in follownig way, where "list1" is grid identifier.

Returns id or null if no row is selected (single row)

var selr = jQuery('#list1').jqGrid('getGridParam','selrow');

Return data of passed row and col, where invdate is column name

var row_date = jQuery('#list1').jqGrid('getCell', selr, 'invdate');

Your Answer

12 + 20 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?