This is a migrated thread and some comments may be shown as answers.

DataFormatString not working when no filters are displayed

2 Answers 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Luci
Top achievements
Rank 1
Luci asked on 28 Aug 2008, 10:13 AM
this is incredible, but
if i set AllowFilteringByColumn to false, the grid isn't formatting any more.

sample col that doesn't get formatted just by changing AllowFilteringByColumn to false...
is this a bug?

<telerik:GridBoundColumn DataField="Data1" HeaderText="Data 1"   
    UniqueName="Data1" 
    DataFormatString="{0:dd/MM/yyyy}" 
    DataType="System.DateTime" 
    ItemStyle-Width="140px" HeaderStyle-Width="140px">  
</telerik:GridBoundColumn> 
 




2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 28 Aug 2008, 11:14 AM
Hello Luci,

I tried the same at my end and its working as expected. Which version of  RadGrid are you using? I'm using 2008.1.415.20.
aspx:
<telerik:GridBoundColumn DataField="date" DataType="System.DateTime" DataFormatString="{0:yyyy/MM/dd HH:mm}" HeaderText="Data1" UniqueName="Data1" ItemStyle-Width="140px" HeaderStyle-Width="140px"  > 
</telerik:GridBoundColumn> 

Shinu.
0
Luci
Top achievements
Rank 1
answered on 28 Aug 2008, 11:57 AM
hello, its the latest grid from 2008.q2
our scenario is a more complicated one, I'll try to make a sample project to see why this is happening.
thank you.
Tags
Grid
Asked by
Luci
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Luci
Top achievements
Rank 1
Share this question
or