This question is locked. New answers and comments are not allowed.
I have Grid which has popup edit form with several fields on of them is ID field.
.Editable(editing => editing.Mode(GridEditMode.PopUp))
I would like to hide ID field from popup edit form, how to do that?
.Editable(editing => editing.Mode(GridEditMode.PopUp))
I would like to hide ID field from popup edit form, how to do that?
4 Answers, 1 is accepted
0
Pedro
Top achievements
Rank 2
answered on 04 Apr 2012, 07:01 PM
Are you using Entity Framework for your model?
0
Chillax
Top achievements
Rank 1
answered on 18 May 2012, 08:57 AM
I have same question. yes i am using entity framework.
0
Dennis
Top achievements
Rank 1
answered on 11 Jul 2012, 07:25 PM
I also have the same question. It binds to a model and they suggest using DataAnnotation [ScaffoldColumn(false)] but that is nice and all but what if in the popup you only want to show one field to be editable in your popup. Whatever you set [ScaffoldColumn(false)] will also not show up in your grid.
Thanks
Dennis
Hopefully I helped someone.
Thanks
Dennis
Hopefully I helped someone.
0
Chillax
Top achievements
Rank 1
answered on 20 Jul 2012, 09:50 AM
Hi
I think you can do it easily. Add a client side event to the grid and hide the appropriate field in that.
Check this link, hope this will help you.
http://like2know.blogspot.com/2012/07/hide-some-of-field-in-grideditmodepopup.html
Regards
I think you can do it easily. Add a client side event to the grid and hide the appropriate field in that.
Check this link, hope this will help you.
http://like2know.blogspot.com/2012/07/hide-some-of-field-in-grideditmodepopup.html
Regards