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
Conditional Row Color Problem when hidding column and refreshing grid - Urgent
posted

I would be greatful. If you can help me ASAP please. Thanks

Please check the attached File for demo.

Issues™

1. Hide Column and Conditianal Row Coloring will be gone.

Hiden any column and row color logic will be gone. I am calling "applyConditionalRowColor" in "dataRendered event". I tried to call the same function in "columnHidden event" as well, but it's still not working. I called this function firstly in "dataRendered event", becuase on api it says "Event fired after all of the data records in the grid table body have been rendered."

2. Press Refresh and Conditianal Row Coloring will be gone.

The purpose of this is to set the grid to it's initial state. Apply filtering, sorting and hide multiple columns. Then user can press refresh to set the grid to it's initial state. Resending the data request reset filteration, sorting and hidden, but conditional row color doesn't work.
Regenerate Issue Steps:
  • Go to column chooser, Hide few columns
  • Go to Sort on multiple, apply multiple sorting.
  • Apply some random filteration on some column.
  • After all these steps, the Conditianal Row Coloring will still be working
  • Now user has done his/her analysis and want grid on it's initial state. Press Refresh and Conditianal Row Coloring gone

Note: I am not using $(".selector").igGrid("dataBind"); due to a reason, that in orignal application we use refreshGrid function to get updated data from db after deleting or editing row. Any better way of reseting hidden column logic or refreshing grid(reset filteration/sorting/hidden features) in refreshGrid would be appreciated.
TestHidingAndConditionalRowColor.zip
Parents Reply Children
No Data