I am building an application that uses a grid much like the Properties grid is used in Visual Studio. I basically need to display a list of name/value pairs within a grid, and the data type of the value will vary from row to row. When the user clicks in the value cell on a given row, I would like to present the editor to them that is appropriate for that data type (date picker for dates, checkbox for booleans, dropdown or text box for strings, etc.).
Is this possible with the RadGridView? All of the examples I've found so far are for setting the editor for an entire column rather than for an individual cell.
Thanks,
Ben
Is this possible with the RadGridView? All of the examples I've found so far are for setting the editor for an entire column rather than for an individual cell.
Thanks,
Ben
6 Answers, 1 is accepted
0
Hi Ben,
Vlad
the Telerik team
Please check this demo for more info.
Regards,Vlad
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
0
Subha
Top achievements
Rank 1
answered on 09 Dec 2010, 09:37 PM
Hi,
I am looking for the similar functionality where a cell editor should show datetime picker or combobox based on another cell value. Do you have a sample avaialble for this? I am using MVVM in my app.
Thanks in advance.
Subha
I am looking for the similar functionality where a cell editor should show datetime picker or combobox based on another cell value. Do you have a sample avaialble for this? I am using MVVM in my app.
Thanks in advance.
Subha
0
Hi Subha,
Maya
the Telerik team
I am sending you a sample project demonstrating a possible approach for achieving the desired result. Let me know if you need any further assistance.
Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Subha
Top achievements
Rank 1
answered on 13 Dec 2010, 06:10 PM
Thank you very much for the solution. This is exactly what I was looking for!
0
Haggai
Top achievements
Rank 1
answered on 07 May 2016, 02:03 PM
Hi Maya,
I saw your post on how to change individual cell editor at runtime not the whole column
Will you please also send me your solution haggai@live.ca
Thanks,
haggai
0
Hi Haggai,
You can create a CellEditTemplate for the column you want thus modifying the editor of the whole column. More information can be found in Setting CellTemplate and CellEditTemplate article.
Regards,
Maya
Telerik
You can create a CellEditTemplate for the column you want thus modifying the editor of the whole column. More information can be found in Setting CellTemplate and CellEditTemplate article.
Regards,
Maya
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.