Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
605
Exporting igx-grid does not use column formatter correctly
posted

In order to translate lookup list database values to something that is useful to the end user, we leverage the column formatter (the display value is stored in a hidden value in the rowData).

We are trying to implement excel export, but the excel export service does not call the formatter with the correct arguments so rowData is null when we attempt to use it.

I set a breakpoint in our formatter function and riwData is undefined. I then looked at the caller and this is the js code from exportRow that is calling formatter:

   let formattedValue = shouldApplyFormatter ? e.formatter(rawValue) : rawValue;

As you can see it does not include the row data in the parameter.

This is critical functionality for us because the display value in the row might not be available anywhere else.

                 

Parents Reply Children
No Data