Welcome Guest Search | Active Topics | Sign In | Register

EO Grid DateTime column Options
Manjiri
Posted: Friday, October 14, 2011 6:43:20 AM
Rank: Member
Groups: Member

Joined: 1/10/2011
Posts: 12
i have licensed copy of EO grid. i m trying to use DateTime column to input exam time, but it shows only date. my code is
<eo:DateTimeColumn DataField="tmExamFrom" DataFormat="{0:HH:mm}"
HeaderText="Exam From">

what m i missing or doing wrong? any help is appreciated.

thanks
eo_support
Posted: Friday, October 14, 2011 7:57:56 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You will need to set the DatePicker's PickerFormat property.

Thanks!
Mark Moreau
Posted: Monday, October 17, 2011 8:20:23 PM
Rank: Newbie
Groups: Member

Joined: 8/17/2007
Posts: 2
how do you do this? i have edited the col template as well as the col directly with the data format: HH:mm. only the short date is returned?
eo_support
Posted: Tuesday, October 18, 2011 7:44:51 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You do:

Code: HTML/ASPX
<eo:DateTimeColumn  ....>
    <DatePicker PickerFormat="xxxxx">
       ....
    </DatePicker>
</eo:DateTimeColumn>


The easiest way to do this is to use Grid Editor to edit the columns' DatePicker property.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.