Rank: Newbie Groups: Member
Joined: 10/29/2007 Posts: 4
|
I have a few questions about eo:Grid.
(I am using build #16) First, When I'm filling a DateTimeColumn w/a System.DateTime object the dataformat works fine unless I try and use tt to get "AM/PM". I'm getting "undefined" as the value.
My line - SortOrder="Descending" DataFormat='{0:MM/dd/yyyy hh:mm tt}' AllowSort="true"></eo:DateTimeColumn>
Displayed in column - 12/10/2007 04:20 undefined
Second, are there any plans to make the columns auto width to be determined by the length of any item in the column not just the header length?
Thanks in advance.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
The AM/PM seems to be a bug, we will get it fixed as soon as possible. As for the column width, the current implementation is that each column must have a fixed width, that way scrolls can be handled correctly. We do not have any plan to automatically adjust column size based on the column content, but we do have plan to allow users to change column width on the client side via our client side JavaScript interface. That way it at least gives the user a lot of flexibilities.
Thanks
|