Hello,
I have created Numeric textbox in Grid. I Don't want it to accept decimal. Why does it accept decimal? I dont want to use custom editor to specify decimal places.
dataSource = new kendo.data.DataSource({
data: myArray, //empty data
schema: {
model: {
id: "id",
fields: {
MINUTES: {
type: "number", validation: {
decimals: 0,
required: true,
min: 0
}, format: '0.'
},
It should accept only number. Please help.
I have created Numeric textbox in Grid. I Don't want it to accept decimal. Why does it accept decimal? I dont want to use custom editor to specify decimal places.
dataSource = new kendo.data.DataSource({
data: myArray, //empty data
schema: {
model: {
id: "id",
fields: {
MINUTES: {
type: "number", validation: {
decimals: 0,
required: true,
min: 0
}, format: '0.'
},
It should accept only number. Please help.