Using setCellCssStyles inside a for..in loop
Capable to color a specific cell in SlickGrid using setCellCssStyles with an explicit index number of the row such as:
grid.setCellCssStyles("key_name", {
0: {
col_name: "css_class",
},
})
But when switch to a counter of the for..in loop it doesn't work:
grid.setCellCssStyles("key_name", {
i: {
col_name: "css_class",
},
})
Tried to re render the grid (grid.render()) with/without settimeout after setCellCssStyles , the typeOf(i) is Number
Any ideas?
Thanks (: