4 Answers, 1 is accepted
0
Hi Caipus,
You can use this blog post as a reference:
http://blogs.telerik.com/johnkellar/posts/09-02-03/how_to_use_custom_row_layouts_in_radgridview_for_wpf.aspx
Hope this helps.
Sincerely yours,
Anastasia
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You can use this blog post as a reference:
http://blogs.telerik.com/johnkellar/posts/09-02-03/how_to_use_custom_row_layouts_in_radgridview_for_wpf.aspx
Hope this helps.
Sincerely yours,
Anastasia
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Caipus
Top achievements
Rank 1
answered on 23 Sep 2009, 07:15 AM
Thank you Anastasia, exactly what i need.
I ask me why i didn't find it myself? But i couldn't find a link between the tv-stream and this blog.
Have a nice day
Markus
I ask me why i didn't find it myself? But i couldn't find a link between the tv-stream and this blog.
Have a nice day
Markus
0
Caipus
Top achievements
Rank 1
answered on 23 Sep 2009, 09:57 AM
Hi again,
i tested the example of the blog and it works fine for normal cells.
But there is no example on how to do the bindings with a combobox
This is how my grid cols look like:
Do you have a further example, please?
Thank you
Markus
i tested the example of the blog and it works fine for normal cells.
But there is no example on how to do the bindings with a combobox
This is how my grid cols look like:
<telerik:RadGridView.Columns> |
<telerik:GridViewDataColumn Width="1*" Header="Surename" DataMemberBinding="{Binding Surename}" /> |
<telerik:GridViewDataColumn HeaderText="Firstname" Width="1*" DataMemberBinding="{Binding Firstname}" /> |
<telerik:GridViewComboBoxColumn HeaderText="Role" UniqueName="Role" |
SelectedValueMemberPath="Id" |
DisplayMemberPath="Funktion" Width="1*" |
DataMemberBinding="{Binding RoleId}" /> |
</telerik:RadGridView.Columns> |
Do you have a further example, please?
Thank you
Markus
0
Hello Caipus,
In actuality there is no need to use GridViewCell to present the data. What you can to is set any control in the template of the row and bind it to the property of your choice.
In your case:
<ComboBox ItemsSource="{Binding RoleId}" DisplayMemberPath="Funktion" />
Best wishes,
Kalin Milanov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
In actuality there is no need to use GridViewCell to present the data. What you can to is set any control in the template of the row and bind it to the property of your choice.
In your case:
<ComboBox ItemsSource="{Binding RoleId}" DisplayMemberPath="Funktion" />
Best wishes,
Kalin Milanov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.