Click here to Skip to main content
15,919,479 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Need a Sample of Code for Editable Checkbox, Combo box, Calender, radio button in dataGrid Control using WPF,C# Tookit.dll
Posted
Comments
CHill60 13-Jan-14 15:58pm    
Not entirely clear but I'm sure google has several such samples
Christian Graus 13-Jan-14 20:18pm    
I recommend buying a book and learning to do basic research. Post what you've tried, and if you've not tried anything, you should.

1 solution

Here's an example of a combo box, the others work similarly.


<DataGrid.Columns>
<datagridtemplatecolumn.celleditingtemplate>
                            <datatemplate>
                                <combobox height="22" name="cmbSelectedColumn">
                                       SelectedValue="{Binding ColumnId}"
                                        SelectedValuePath="Id"
                                        DisplayMemberPath="Name"
                                        ItemsSource="{DynamicResource AvailColumns}"
                                 SelectionChanged="cmbSelectedColumn_SelectionChanged" />
                            </combobox></datatemplate>
                        </datagridtemplatecolumn.celleditingtemplate>
 
Share this answer
 
Comments
Musakkhir 14-Jan-14 7:17am    
Thanks, it is working fine.
bowlturner 14-Jan-14 9:10am    
No Problem

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900