5 Answers, 1 is accepted
0
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
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:
the result was column with header Speed and value of 10, i didn't see the SpinEditor control.
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
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
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, 07:00 PM
Thanks !