Comment 11 for bug 1635386

Revision history for this message
Kyle Huckins (khuckins) wrote :

After a good couple weeks on my own time of studying grid.js closely, I have an idea that could prove my initial findings on the row colorization incorrect. I've pushed up a WIP commit to my branch which includes a basic implementation of the requested row colorings. Currently this affects all grids, and shouldn't be taken as a solution in and of itself. It is simply a function that needs to be replaced with a new optional parameter to eg-grid, currently titled "rowClass." rowClass will allow you to pass along a function or a string, and will be applied to each cell in the grid, bypassing the previous problem of only being able to affect the cell's content.