Excel View

QuestionsExcel View
Gustavo Lazaro asked 1 year 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 1 year ago

Hi,

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}); }”;

where:
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

14 + 17 =

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!