This is a migrated thread and some comments may be shown as answers.

[Solved] Only first letter by DataFormatString

0 Answers 126 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John
Top achievements
Rank 1
John asked on 23 Sep 2011, 01:26 PM

I have a column when I bind enum:

<telerik:GridViewComboBoxColumn Header="N/U" DataMemberBinding="{Binding VehicleCondition}" ItemsSourceBinding="{Binding Source={StaticResource Locator}, Path=CarSalon.VehicleConditions}" IsGroupable="False" DataFormatString="" />

How can I display only first letter by DataFormatString?

Or maybe another solution without DataFormatString?

Best regards,

John

Tags
GridView
Asked by
John
Top achievements
Rank 1
Share this question
or