Why kendo mvc grid numeric integer column(numeric text box) is becoming zero , when I give decimal values to it

141 Views Asked by At

I am having kendo mvc grid and one of its column is numeric text box and it is of type integer , but when I try to give decimal values to numeric text box ,it is becoming zero , but it should get rounded to nearest integer or should not accept decimal values.

How can i do that , kindly anyone help me

CODE:

columns.Bound(c => c.Quantity).Title("Quantity").Width(100);

public int Quantity { get; set; }

0

There are 0 best solutions below