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

How to create kendoNumericTextBox in kendo grid cell?

1 Answer 193 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bala
Top achievements
Rank 1
Bala asked on 25 Apr 2014, 08:24 AM
Is there is any way to create widgets in kendo grid cell template? here is the sample code.

columns: [{
    field: "Name",
    title: "Contact Name",
    width: 100
},
{
    field: "Cost",
    title: "Cost",
    template: "<input value='#: Cost #'> </input>",// input must be an numerical up down.
 
}]

I want to create a numerical up down for cost column.here is the demo
 

Is there is any way to create widgets in kendo grid cell template? here is the sample code.

columns: [{
    field: "Name",
    title: "Contact Name",
    width: 100
},
{
    field: "Cost",
    title: "Cost",
    template: "<input value='#: Cost #'> </input>",// input must be an numerical up down.

}]

I want to create a numerical up down for cost column.

here is the demo

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 28 Apr 2014, 02:55 PM
Hi Bala,


A sample approach in the current case would be to initialize the widgets in the dataBound event of the Grid. Here is the updated example.

I hope this information helps.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Bala
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or