Completed
Last Updated: 21 Jun 2018 13:33 by ADMIN
ADMIN
Boryana
Created on: 07 Aug 2012 03:47
Category: GridView
Type: Bug Report
2
FIX. RadGridView - Setting the FormatString of a column in the child template does not seem to take effect
Setting the FormatString of a column in the child template does not seem to take effect.
2 comments
ADMIN
Hristo
Posted on: 21 Jun 2018 13:33
Hi Roy, 

The issue is fixed and I am not able to reproduce it. You can set the date format this way: 
this.radGridView1.Columns["DateColumn"].FormatString = "{0: hh:mm tt}";

In case the issue in your project persists you can open a support ticket and send it over.

Regards,
Hristo
roy
Posted on: 28 Mar 2018 11:42
I confirmed.

I installed the UI yesterday and suppose my version is already the most updated. Create a column, set the FormatString to "hh:mm tt", then add a row with a DateTime value. The displayed string is "hh:mm tt", regardless of DataType setting of the column.