tags:

views:

306

answers:

1

Suppose I have the following (shortened for simplicity):

jQuery("#grid").jqGrid({
    ...
    ondblClickRow: function(rowid) {
        // I want to access the fields of the double-clicked row in here
    }
    ...
});

Inside the ondblClickRow event, I want to access the fields of the row.

How is this done?

+3  A: 

Call the getCell method with the rowid parameter and a column index.
See the documentation.

SLaks