JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Grid cell highlighting › Reply To: Grid cell highlighting
October 23, 2023 at 4:15 pm
#109043
admin
Keymaster
Hi Ferris,
The approach you’re using will not work, because Cells are reused while scrolling which means that this CSS class is applied to a physical cell html element which will be the same one when you scroll up/down or left/right. The good news are that we have API for styling cells. Please, look at https://www.htmlelements.com/docs/grid-styling-cells/. The help article shows how to style cells in the Grid.
Regards,
Markov
Smart UI
https://www.htmlelements.com/