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

Readonly columns editable in InsertRow

1 Answer 118 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Björn
Top achievements
Rank 1
Björn asked on 20 Apr 2011, 02:22 PM
Hello!

I have a Grid with an activated InsertRow (ShowInsertRow=True) and a ComboBoxColumn that is readonly.
The Property bound to the SelectedValue of the ComboBox should only be set once a new item is inserted,
so i need the ComboBox to be editable in the InsertRow.
By default the ComboBox of the InsertRow inherits the Template of the Column and therefore is not editable.

How can I make that ComboBox editable, are there simple options as hooking a trigger ?
Is there a proper way to do it in Xaml (i'd like to avoid code behind) ?

Thank You.

1 Answer, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 20 Apr 2011, 03:50 PM
Hello Björn,

If you want to be able to edit with a RadComboBox only on adding a new item. you may use this combo box only in this case. You may take a look at this forum thread for a reference.
Let me know in case you need any further assistance.
 

Kind regards,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Björn
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or