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

Question about Cell Edit Templates, I think?

1 Answer 7 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 15 Jul 2016, 04:14 PM

Hello All,
     I have been tasked in a WPF/MVVM application to setup a TreeListView that shows some "Property/Value" pairs.  For most of the properties, the value should be a simple textbox, but for some of the particular properties, the values should be displayed as a dropdown selection.  Is there a way to get this done.  I'm starting down the path of in the table that stores these property/value pairs, have a column that designates what type of "Value" cell show be displayed, the by using that setting up a CellEditTemplate to properly configure the cell as either a textbox or dropdown...  Having never created a CellEditTemplate before, I wasn't sure if this is possible or even the correct path to venture down...  So, there's my dilemma/question...  If this is the correct path, is there a good example of how to get this done???

 

Thanks in advance,

Kevin Orcutt
Senior Software Engineer

Wurth Electronics ICS, Inc.
7496 Webster St., Dayton, OH 45414
Tel: 937.415.7700 
Toll Free: 877.690.2207
Fax: 937.415.7710
Email: Kevin.Orcutt@we-ics.com
http://www.we-ics.com

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 20 Jul 2016, 10:17 AM
Hi Kevin,

Can you please take a look at the CellTemplateSelector topic, as I believe the functionality demonstrated in it corresponds to your needs? You may also find the Template Selectors section of RadGridView's online examples useful. The same demos can be found in the local copy of the WPF Demos.

I hope this suits your needs.

Best Regards,
Stefan X1
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
TreeListView
Asked by
Kevin
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or