Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
435
GridHiding ColumnGridSetting doesn't seem to work
posted

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

igGridSample.zip
Parents
  • 18204
    Verified Answer
    Offline posted

    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.

Reply Children
No Data