Hi,
I'm trying to format the filter control for an integer column to not use decimals, separators or spinners. I'm using Kendo.Mvc version 2017.1.118.545.
Using the answer from another question I've tried the following approach:
c.Bound(m => m.Id)
.Title(
"ID"
)
.Filterable(ftb => ftb
.Cell(cell => cell
.Operator(
"eq"
)
.ShowOperators(
false
)
).UI(
"integerFilter"
));
function
integerFilter(el) {
el.kendoNumericTextBox({
spinners:
false
,
format:
"#"
,
decimals: 0
});
}
However as per attached screenshot, this doesn't work.
Please advise how to achieve this behaviour as according to the API guide (and other questions), this is correct.
Thanks,
Chris