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
140
How to hide / show igGrid column based on condition?
posted

I want to show or hide the columns in iggrid based on condition (i.e radio button click) in page load and runtime also.

I am using ignite ui version 16.1.20161.2145.


Parents Reply
  • 29417
    Offline posted in reply to vanitha

    Hello vanitha, 

    Showing/Hiding column should not affect the grid’s data in any way.

    You can refer to the following jsfiddle example:

    http://jsfiddle.net/1krLwpsh/
    Where the fist column can be hidden/shown using the API methods via the button. Note that the data is not affected by the hiding/showing operations. 

    Please test this on your PC; whether or not it works correctly may help indicate the nature of this problem.

    If it’s working correctly, this indicates a possible problem in the code of your application.  It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.

    Or, if this sample is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one. 

    Please let me know if I can provide any further assistance. 

    Best Regards,

    Maya Kirova

    Infragistics, Inc.

    http://ko.infragistics.com/support

     

     

Children