Hello everybody :)
I am using KendoGrid to perform some CRUD operations on my database. I have a field set as "number", so Kendo is diplaying buttons for increasing and decreasing its value (as the example showed here)
I want to change the step size, by the following code:
Nevertheless, it is not working as the upper arrow increases the value in one unit, and it must be increased in 0.1 (as a percentage).
Thanks in advance :)
I am using KendoGrid to perform some CRUD operations on my database. I have a field set as "number", so Kendo is diplaying buttons for increasing and decreasing its value (as the example showed here)
I want to change the step size, by the following code:
$(
"#seasons_grid"
).kendoGrid({
dataSource: dataSource,
navigatable:
true
,
pageable:
true
,
height: 400,
toolbar: [
"create"
,
"save"
,
"cancel"
],
columns: [
{
field:
"name"
,
title: title_nombre
},
{
field:
"percentage"
,
format:
"{0:p}"
,
step:
"0.1"
,
title: title_porcentaje
},
{
field:
"start_date"
,
title: title_fecha_inicial,
template:
'#= kendo.toString(start_date, "'
+formatDate+
'")#'
},
{
field:
"end_date"
,
title: title_fecha_final,
template:
'#= kendo.toString(end_date, "'
+formatDate+
'")#'
},
{
command:
"destroy"
,
title:
" "
,
width:
"110px"
}],
editable:
true
});
Nevertheless, it is not working as the upper arrow increases the value in one unit, and it must be increased in 0.1 (as a percentage).
Thanks in advance :)