How do I format the GanttView Columns displaying Custom formats?
I have try to set the StringFormat like this:
But it does not work.
As a workaround i have done following in my custom tasks class:
Br /Sture
I have try to set the StringFormat like this:
<
telerik:ColumnDefinition
MemberBinding
=
"{Binding End , StringFormat={}{0:d}}"
Header
=
"End"
ColumnWidth
=
"100"
>
<
telerik:ColumnDefinition.CellEditTemplate
>
<
DataTemplate
>
<
telerik:RadDatePicker
SelectedValue
=
"{Binding End,Mode=TwoWay}"
/>
</
DataTemplate
>
</
telerik:ColumnDefinition.CellEditTemplate
>
</
telerik:ColumnDefinition
>
But it does not work.
As a workaround i have done following in my custom tasks class:
public
String End_str
{
get
{
return
base
.End.ToString(
"yyyy-MM-dd"
);
}
}
Br /Sture