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
45
allowHiding
posted

Hello to all,

Something is not very clear to me concerning the allowHiding option. When we look at the following example from your site:

http://ko.infragistics.com/products/jquery/sample/grid/column-hiding-on-initialization, it is said that "When hiding columns during initialization, column indicators are not shown, so hidden columns cannot be made visible by the user." and that's exactly what i want but for some reason the columns simply do not exists.

Is there a way to have some columns not displayed (hidden), present in the DOM, and not accessible  through the column chooser using only igGrid native functionnalities?


Thanks

Parents
  • 23953
    Verified Answer
    Offline posted

    Hello Jeff,

    Hiding functionality in igGrid removes (detaches) the column from the DOM when it is hidden and restores it back when it is shown thus what you want cannot be achieved with this feature. You can try to set a width of 0px to a column which you don't want to show but want to retain it in the DOM. However the column with 0px width will be listed in the column chooser.

    Why do you need a hidden column present in the grid? Probably there is an alternative solution to your problem.

    Best regards,
    Martin Pavlov
    Infragistics, Inc. 

Reply Children
No Data