This question is locked. New answers and comments are not allowed.
Hello,
We are currently using the export feature of the GridView. Either with grid.ToText() or grid.Export({...}) it seems that the DataFormatString of the GridViewDataColumn isn't applying to the export, only to the view on the grid. Example a decimal number appears as 15 in the grid, but the export is 15.00.
Is this expected? Is there a workaround to get the grid to export the data using the same format it uses for display?
Extra info:
Column: DataType = typeof(decimal?);
Column: DataFormatString = "{0:N0}";
Backing data is decimal?
Thank you,
Patrick
We are currently using the export feature of the GridView. Either with grid.ToText() or grid.Export({...}) it seems that the DataFormatString of the GridViewDataColumn isn't applying to the export, only to the view on the grid. Example a decimal number appears as 15 in the grid, but the export is 15.00.
Is this expected? Is there a workaround to get the grid to export the data using the same format it uses for display?
Extra info:
Column: DataType = typeof(decimal?);
Column: DataFormatString = "{0:N0}";
Backing data is decimal?
Thank you,
Patrick