Hello there, i seem to be having a problem with getting a currency filter to work, i am trying to truncate any number past the decimal point. so if i have $3,456.04 , it
should be $3,456. However, after i add the filter function, what is displayed is 3456.
Here is the index.cshtml
columns.Bound(e => e.EstimatedGrantedCost).Title(
"Est.<br>Granted<br>Cost"
).Width(23).HeaderHtmlAttributes(
new
{ style =
"text-align:right; font-weight:normal; font-size:80%"
}).HtmlAttributes(
new
{ @style =
"text-align:right; font-weight: normal; font-size:80%"
}).Filterable(x => x.UI(
"CurrencyFilter"
));
function
CurrencyFilter(e) {
//console.log("this is what was passed in:",e)
$(e).kendoNumericTextBox({format:
"c0"
});
}
thanks for your help.