Oct 15, 2014, 3:40 PM
Grid Print problem
Hello everyone!
I have a web site developed in ASP.net web forms
On every page I have included a grid panel, where each has built-in functionality to print the contents of the grid.
The problem arises when I print the grid, it does not show correctly the date format specified in the ColumnModel of the grid.
To be more clear, I describe an example:
1 - When I set the store model, I specify the column as date type with format that comes directly from the database as "yyyy-MM-DDThh:mm:ss".
2 - Then when I set the column model, I define that column as DateColumn type with the format "dd/MM/yyyy", which is coming out correctly on screen.
3 - When I run the application and visualize the grid, the formatted dates correctly output (dd/MM/yyyy)
4 - But when I use the print grid functionality, the preview shows another date format, which I suspect is the default format (MM/dd/yyyy).
Try to modify the property "Locale" within tag ResourceManager but does not change anything.
Try to change various Date Formats into the ColumnModel and Store Model, but no effect.
Can I specify the date format I want the grid to be shown on print?
Ext.NET WebForms 2.3.1
MS Visual Studio 2010
Any help is welcome.
Thanks in advance!
Sebastian
I have a web site developed in ASP.net web forms
On every page I have included a grid panel, where each has built-in functionality to print the contents of the grid.
The problem arises when I print the grid, it does not show correctly the date format specified in the ColumnModel of the grid.
To be more clear, I describe an example:
1 - When I set the store model, I specify the column as date type with format that comes directly from the database as "yyyy-MM-DDThh:mm:ss".
2 - Then when I set the column model, I define that column as DateColumn type with the format "dd/MM/yyyy", which is coming out correctly on screen.
3 - When I run the application and visualize the grid, the formatted dates correctly output (dd/MM/yyyy)
4 - But when I use the print grid functionality, the preview shows another date format, which I suspect is the default format (MM/dd/yyyy).
Try to modify the property "Locale" within tag ResourceManager but does not change anything.
Try to change various Date Formats into the ColumnModel and Store Model, but no effect.
Can I specify the date format I want the grid to be shown on print?
Ext.NET WebForms 2.3.1
MS Visual Studio 2010
Any help is welcome.
Thanks in advance!
Sebastian
Last edited by SebasVT; Oct 15, 2014 at 4:04 PM.