Excel View

QuestionsExcel View
Gustavo Lazaro asked 6 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 6 years 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
Grid 4 PHP Framework
 
Your Answer

20 + 11 =

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?