ADAdministrator Syncfusion Team October 5, 2004 01:58 AM
We will try to make this easier, but for now I think you would have to loop through the entries in the drop list and explicitly format them.
Below is a code snippet for the BirthDate column in the Employees table of the FilterBar sample.
//change the dateformats
int col = this.gridDataBoundGrid1.Binder.NameToColIndex("BirthDate");
if(col > -1)
DataTable dt = (DataTable) this.gridDataBoundGrid1[1, col].DataSource;
for(int i = 2; i < dt.Rows.Count; ++i)
dt.Rows[i] = DateTime.Parse((string) dt.Rows[i]).ToString("ddd dd/MM/yyyy");
TOTomOctober 5, 2004 02:03 AM
Thank you very much!
I really appreciate your help.