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

Add SpinEditor into radgridview column

5 Answers 171 Views
GridView
This is a migrated thread and some comments may be shown as answers.
miki
Top achievements
Rank 1
miki asked on 30 Dec 2014, 02:24 PM
I saw this: http://www.telerik.com/help/winforms/gridview-editors-customizing-editor-behavior.html
So i can see it is possible, how can do that ?

Thanks

5 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 30 Dec 2014, 02:39 PM
Hi Miki,

Thank you for writing.

You can just use GridViewDecimalColumn, which default editor is a spin editor. More information is available here: http://www.telerik.com/help/winforms/gridview-columns-gridviewdecimalcolumn.html.

I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
miki
Top achievements
Rank 1
answered on 30 Dec 2014, 02:50 PM
Thanks you for quick answer.
Currently i try this:

GridViewDecimalColumn decimalColumn = new GridViewDecimalColumn();
decimalColumn.Name = "DecimalColumn";
decimalColumn.HeaderText = "Speed";
decimalColumn.FieldName = "UnitPrice";
decimalColumn.DecimalPlaces = 30;
radGridView1.MasterTemplate.Columns.Add(decimalColumn);
radGridView1.Rows.Add(10);

the result was column with header Speed and value of 10, i didn't see the SpinEditor control.
0
Stefan
Telerik team
answered on 30 Dec 2014, 04:51 PM
When you double click a cell, it will open its editor, which will be the spin editor you are looking for. More on the editors in RadGridView is available here: http://www.telerik.com/help/winforms/gridview-editors.html.

Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
miki
Top achievements
Rank 1
answered on 30 Dec 2014, 06:59 PM
Attach...
0
miki
Top achievements
Rank 1
answered on 30 Dec 2014, 07:00 PM
Thanks !
Tags
GridView
Asked by
miki
Top achievements
Rank 1
Answers by
Stefan
Telerik team
miki
Top achievements
Rank 1
Share this question
or