|
Rank: Member Groups: Member
Joined: 11/26/2007 Posts: 11
|
Hello,
I am binding a grid's column with a datetime field and I need only the hours and min from the datetime. How can I retrieve this in the Grid? I've tried using DateTime Columns's DataFormat property and set it to HH:mm without success.
Thank you for your help!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I believe you can do that by setting DateTimeColumns.DatePicker.PickerFormat to HH:mm.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 11/26/2007 Posts: 11
|
laur wrote:Hello,
I am binding a grid's column with a datetime field and I need only the hours and min from the datetime. How can I retrieve this in the Grid? I've tried using DateTime Columns's DataFormat property and set it to HH:mm without success.
Thank you for your help! I guess the idea is to use {0:HH:mm} for the Static Column and HH:mm for the DatePicker. Thank you for the reply!
|
|