Excel View

QuestionsExcel View
Gustavo Lazaro asked 2 years ago

Dear Abu, I have two grills, master detail. In the second grid I use “Excel View”. There is some way that does not allow editing the cell depending on a state of the grid one

1 Answers
Abu Ghufran Staff answered 2 years ago


Apologies for the delay. Ticket somehow got missed.

In master grid, you can set:

$opt[“onSelectRow”] = “function(id){ var state = true; if (id==3) state=false; $(‘#list2’).jqGrid(‘setColProp’,’amount’,{editable:state}); }”;

id==3 is condition where you want to make field non-editable.
amount is the field of detail grid to toggle editing
list2 is id of detail grid.

Abu Ghufran - Dev Team
PHP Grid Framework
Your Answer

12 + 9 =

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 / 5. Vote count:

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

Let us improve this post!