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 valuesthis.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
Hi Katy,
I am glad that you have resolved your issue.
Thank you for using Infragistics components.
I can't replicate the production behavior now either and we are already using 9.1.7 in production. I think this might have actually been an existing issue but I didn't understand the scenario which was you have to have a view applied for it to not work. I have found a way to workaround which is to ensure the cloned highlight it reapplied as the cellClass for all the columns:
I have reproduced your issue, however, when I tested the scenario in 9.1.2, the same behavior is observed. I have created and attached the sample. Please modify it in order to reproduce the behavior you have in the production environment. This will help me decide how should I proceed further and provide you with better and more accurate support.
Looking forward to hearing from you.
1205.Sample.zip
Hello Katy,
Thank you for the provided sample. I will need some time to investigate your query. I will update you with my progress and a working sample as soon as possible.
I tried to update the stackblitz to show my issue.. so now you will see the initial styling works but when you pick an entry from the select it doesn't update the comment styling. https://stackblitz.com/edit/igxgrid-igxdropdown-conditional-styling-gvdhbn
If you change the comment then the styling does appear so its definitely just an issue with the refresh logic kicking in.
I added a mimic for the state saving (mine actually loads saved views from database but this gives same idea of how its working) and updated the select to be in the cell template since our grid is showing the dropdowns all the time