Home Forums WinForms controls Xceed Grid for WinForms Show datetime column as time with FormatSpecifier Reply To: Show datetime column as time with FormatSpecifier

User (Old forums)
Member
Post count: 23064

It is probably the conversion between the cell and the editor that is not right. Do you do this in the SettingControlValue and GettingControlValue events?

We have a sample application that actually employs a WinTextBox (what’s underneath the TextEditor) to accomplish time display and editing.

<a href=”http://www.xceedsoft.com/cs/download/XceedGrid/CSharp/OldEditorVsNewEditor.zip”>OldEditorVsNewEditor.zip</a&gt; (CS 2003).

Find “Custom 1 – Time edition”, and look at the “new 1” example. It does exactly what you are looking for.

Imported from legacy forums. Posted by André (had 303 views)