SlickGrid
SlickGrid copied to clipboard
Slickgrid GetItemMetadata function refers only to the last item
I am trying to change the style of several rows with the following code block:
DV.getItemMetadata = function (row)
{
let description = this.getItem(row).Description;
if (description != null)
{
return {
cssClasses: 'notify'
};
}
return null;
}
Here I can see that this is done correctly for all elements, but only the last element is colored.
StackOverflow could not help me here so far
This is a question for StackOverflow, can you post a link?
He just created it, here's the SO question
closing since this was asked on Stack Overflow and an answer was posted as well, refer to Example - Colspan for demo