Posted 10 January 2018, 2:33 am EST
I am using the MVC version of the FlexGrid, and I am grouping the data. I also want to use the itemFormatter to customize the data in a column. I was able to do this:
if (panel.rows[r] instanceof wijmo.grid.GroupRow) {
} else {
// my code here
}
to determine if I am in a GroupRow or not. However, the row reference is not correct, I end up getting the row for the next line in the grid. It’s like the GroupRow ends up being treated as the actual first line of data, which throws everything off. So when I attempt to get the data for row that I am on it returns then data for the next row.
How can I use the itemFormatter for custom formatting columns within a Grouping?