AdminUI - grid - export to Excel / CSV / HTML - provide cell and row to format functions
When a cell in grid has a custom format function, it accepts 3 parameters:
But when you export the very same grid to excel / html / csv - you have only the "value" parameter. I found my peace with undefined cell and just check its type - if it is object or not. Though that is not too comfortable :)
But I really do need row - I need to be able to look at other columns values. Otherwise, all I could do - return empty cells for columns, which builds their value client-side from other column's values.