Prevent Editing 3rd master detail grid

QuestionsPrevent Editing 3rd master detail grid
Alfonso Cabrera asked 9 years ago

Hi Abu!

I would like to know how can I prevent editing the 3rd grid of a master detail grid.
I have a master grid, a detail grid and also a sub-detail grid, the user can only add records to the detail by selecting the master detail record and by selecting the detail grid can add records to the sub-detail grid.

Thanks

1 Answers
Abu Ghufran answered 9 years ago

To remove add/edit actions, You can set in 3rd grid.

$g->set_actions(array(
"add"=>false
"edit"=>false

)
);

where $g is jqgrid() object of 3rd grid.

Your Answer

18 + 0 =

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?