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

Incell edit with individual decimal number

2 Answers 842 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jakob
Top achievements
Rank 1
Jakob asked on 14 Nov 2014, 02:21 PM
Hi,

i want to create a kendogrid with inline edit, that has different decimal numbers in each row.

Datasource

Key      Description     Value     DecimalNumbers
1          Item1                 1.33       2
2          Item2                 2.4         1
3          Item3                 3             0
 4         Item4                 10.542   3

Column "DecimalNumbers" describes the decimal format of Column "Value".

Value is editable, so the editor needs to format value with given DecimalNumbers from last column.

How can I archieve this?

Thank you very much.

2 Answers, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 18 Nov 2014, 12:57 PM
Hello Jakob,

You can achieve the desired functionality by using a custom column template and custom editor. Here you can find a small sample which demonstrates this in action.

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Jakob
Top achievements
Rank 1
answered on 18 Nov 2014, 04:19 PM
Hi Rosen,

thank you very much! That solved my problem perfectly :-)

Tags
Grid
Asked by
Jakob
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Jakob
Top achievements
Rank 1
Share this question
or