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
15
hiddenColumns - Need to have a provision to choose any icon instead of eye icon.
posted

Hi Team,

I am using igx-grid-toolbar-hiding in igx grid to hide the fields by select and deselect from the list with check boxes and count is coming beside the eye icon also but i need a provision to display any other icon also instead of eye icon.


i am expecting a faster response from your side.

Thank you!!

Parents
No Data
Reply
  • 1560
    Offline posted

    Hello,

    I have been looking into your question, however, after an investigation, I have determined that IgxGridToolbarHidingComponent doesn't expose such functionality out of the box.


    Having this in mind, I could suggest submitting a new feature request in our GitHub repository here.


    Meanwhile, a possible workaround is to change the icon by accessing the button element and based on whether there are hidden columns. A small sample that demonstrates this approach could be found here.


    Please keep in mind the suggested approach is a workaround, it is not fully tested and it is possible to not behave as expected in all scenarios.


    Let me know if I may be of any further assistance.

    Sincerely,
    Teodosia Hristodorova
    Software Developer

Children
No Data