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

Custom Column picker control

1 Answer 89 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marcel
Top achievements
Rank 1
Marcel asked on 11 Aug 2015, 06:50 AM

Hello,

I am working on a custom datagrid for my application and I want to have a custom column where the cell has a Textbox and a small button. When the user clicks the button a small screen must be shown where the user can enter some values. The total of the inputting values need to be displayed back in the gridview.
I am looking at implementing this, but have a hard time doing. I like to have the same style for the button and the subscreen as the datepicker/Calculatorpicker.
The content of the dropdown screen need to be replacable by other content using a usercontrol.

Whats the best way to implement this, should I create a custom control for this? And then create a custom column according to the approach below?

Or is there a better way to implement this?

http://docs.telerik.com/devtools/wpf/controls/radgridview/columns/how-to/create-date-time-picker-column.html

Thank in advance.

Marcel

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 11 Aug 2015, 03:33 PM
Hi Marcel,

Basically, what you need to do is to define a UserControl with the needed dependency properties and set the binding in your custom column to them. You can follow the approach from the referred article, as it is demonstrating the approach.

Can you please share some details what are the difficulties you are experiencing with it or you have already tried another one? I am also not completely able to understand what you mean by to have the same style for the button and the subscreen. Can you shed more light on that?

Best Regards,
Stefan
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
GridView
Asked by
Marcel
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or