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
215
Cell Styling not applied on other columns after change
posted

I currently have two editable cells in the grid. First one is a dropdown and second is a comment. Depending on the value picked in the dropdown the cell styling for the comment cell changes to show if its required or not. I had this working fine by using below in the select method fired when picking dropdown value (highlight is the cell styling).

// this is needed to ensure the conditions refire on change of values
this.highlight = { ...this.highlight };

I found above approach in one of the examples given. This was working fine until I upgraded to 9.1.7 licensed version (from 9.1.2 licenses version) and now its no longer firing the cell styling method for the other columns only for the column which itself changes.

Can you please advise how I can ensure the cell styling is re-evaluated for other columns after changing the contents of one cell.

I can't downgrade back to 9.1.2 as I upgraded to fix another issue with the grid jumping on row selection

Thanks

Katy

Parents
No Data
Reply
  • 1080
    Offline posted

    Hello Katy,

    Thank you for posting in our community.

    I have created a small sample in StackBlitz trying to reproduce the described behavior. On my side, when an item that satisfies a given condition is chosen from igxDropDown, the style of the next cell is updated.

    If this is not an accurate demonstration of what you are trying to achieve please feel free to fork it, modify it, and send it back to me along with steps to reproduce.

    Looking forward to hearing from you.

Children