This is a migrated thread and some comments may be shown as answers.

[Solved] Hide column on columns.autogenerate grid MVC

0 Answers 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
l.vanderdonk
Top achievements
Rank 2
l.vanderdonk asked on 27 Jun 2012, 12:41 PM
Hi There,

what is the best way to hide a column when autogenerate columns is used with respect to dataannotations(modelmetadata).

I tried (did not work)

[HiddenInput(DisplayValue=false)]

I also tried

[ScaffoldColumn
(false)]


Which is working but im not sure if this is the way to go.
Thanks a lot.

Regards Laurens
Tags
Grid
Asked by
l.vanderdonk
Top achievements
Rank 2
Share this question
or