Hi Expert,
I am trying to hide a PrimaryKey column complete from the Grid. I tried with different way, but couldn't get it to work. I provided the code sample that I tried to hide the "ProductID" column. I don't want the User to unhide it. The reason I need these column, so I can submit the data back to the server.
Thank you
Hello Phong Nguyen,
Thank you for posting in our forums!
I took a look at your sample and I do not see any mention of the ProductID column anywhere while running the page. I do not see it when I expand a row or in the Column Chooser either. The ColumnHidingSetting code you are using in the HomeController is hiding the columns as expected and preventing users from being able to unhide the column.
Could you please describe the issue with more details (such as what you see and what you expect to see) and provide steps to reproduce with your sample.
Looking forward to hearing from you.
Sorry,
My bad, I over looked the problem.