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

Hide certain ComboBoxes in GridViewComboBoxColumn

1 Answer 84 Views
GridView
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 03 Dec 2010, 10:31 PM
Hi,

I have a GridViewComboBoxColumn defined in my GridView in Xaml.  I have it set up to bind properly when I set the ItemsSource property on the GridView itself.  That works great.  I would like to know how to hide the combobox that is generated in specific rows when the Grid is bound based on certain criteria of the data items for each row.  How do I do this?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 06 Dec 2010, 11:12 AM
Hello David,

Depending on your particular criteria, you may take advantage of the approach demonstrated in our demo for CellEditTemplateSelector. So, bases on your particular conditions, you may define different editors. Another possible approach may be to work directly with the EditorStyle or with the CellEditTemplate of the GridViewComboBoxColumn.
If you need any further assistance, please provide more details about your custom scenario.

All the best,
Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
GridView
Asked by
David
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or