I have text column in grid that shows date. I cannot use datecolumn, because sql field set as text. How can I show date picker when user click on cell?
thanks
Hi,
You can use a TemplateColumn with a TextBlock in the ItemTemplate and a DatePicker in the editor template.
Then you can setup your editing options like so:
<ig:XamWebGrid.EditingSettings>
<ig:EditingSettings AllowEditing="Cell" IsMouseActionEditingEnabled="SingleClick"/>
</ig:XamWebGrid.EditingSettings>
-SteveZ
You can provide a ValueConverter to the DateColumn to convert the string data into a DateTime value.
<igGrid:DateColumn Key="PropA" ValueConverter="{StaticResource myStringToDateTimeConverter}" />
Devin