disable ondblClickRow on non-editable rows

Questionsdisable ondblClickRow on non-editable rows
Adrian asked 3 weeks ago

Hi,

For my grid I use:

var opts = {
‘ondblClickRow’: function (id) {
jQuery(this).jqGrid(‘editGridRow’, id, <?php echo json_encode_jsfunc($g->options[“edit_options”])?>);
}
};

But, how can I disable for non-editable rows and enable back when I select an editable row

Thanks!

1 Answers
Abu answered 2 weeks ago

Hello,

Refer this https://www.gridphp.com/demo/demos/editing/column-access.phps Line 118.

You can review complete demo and disable if other editing methods as well.

Your Answer

14 + 15 =

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?