tags:

views:

21

answers:

1

I am working with the jqGrid.

Quick Summary:

In summary I want to Lock (make no rows selectable) and also Unlock (make rows selectable). Both of these tasks must be done on the client side.

More Detail:

Basically, once a user selects a row for editing, I want to Lock out the grid so the user cannot select another row until he/she either commits the changes or cancel the changes.

Once the user commits the changes or cancel the changes, then I want to Unlock the grid to allow the user to select another row for editing.

Does anyone know how to do this?

Thanks,

R

A: 

I found the answer:

$("#gridName").attr('disabled', 'disabled');

Richard Corkery