phpjqueryjqgrid-php

I need to get the entire row data from jqGrid when i click the link in same row using jQgrid


I am new to JQgrid and am unsure how to handle this use case.

When a user clicks on a link in a specific row in jQgrid I need to get the row data with a separator.


Solution

  • The answer for the above question is ,when your are clicking on the rows you will have a unique value for each rows from that we need to get the id and by using the jQgrid function.

    With getRowData we can get that row column values.

    The sample example is pasted below:

    var reqlaborId = jQuery("#list1").jqGrid('getRowData', id);
    reqlaborId = reqlaborId.ahcc_laborcan_header_id;
    

    This works fine for me...