Posted 30 March 2020, 3:38 am EST
Hello,
We made a react grid wrapper control around Flexgrid that is used in many of app’s screens. Sometimes the screens that use the control use an itemSource that has columns with date strings (time in millisecs) vs objects. This then causes trouble because the date formatting doesn’t work with date. Is there a generic way I can convert the date string columns from itemSource before the grid renders?
I guess I just need an event that fires after the data model is create but before rendering happens, then I can loop through the date string columns and convert them to date objects.
If there is a way to tell flexgrid to just use date strings for certain columns (like having a DATE_STRING data type), that would be ideal if it was just handled automatically. I know there isn’t so simple but I know dhtmlxgrid is able to do it.
Thanks!