Column Display Format
You can set a C# format string to the column so that it renders the values with the corresponding styling according to the current culture of the thread.
Basics
To set the desired format string, use the DisplayFormat parameter of the column.
If the model field has the DataFormatString set through the DisplayFormat DataAnnotation attribute, the grid will honor that without an explicit setting in the markup of the column.
You can use the standard C# formatting options, because the grid uses a string.Format call: MSDN: Format types in .NET.
Example
Use C# format strings in the Gantt Tree through the component markup
Notes
-
Numeric,DateTimeand Enum types can use such formats. String and Boolean types are displayed without such a format, however. -
The
CurrentInfo.CurrentCultureis used when rendering the formats, so if you need specific formats for specific users, you must set the culture of the app accordingly.