Hello, Basim,
There are two options in this case:
1) On the onItemChange event of the Grid, check if the value written in the numeric field is less then 0 and if it is, do not change the state.
https://www.telerik.com/kendo-react-ui/components/grid/api/GridProps/#toc-onitemchange
2) Use a custom NumericTextBox editor in the Grid and set its min value to 0:
- https://www.telerik.com/kendo-react-ui/components/grid/editing/editing-custom/ - custom editor
- https://www.telerik.com/kendo-react-ui/components/inputs/api/NumericTextBoxProps/#toc-min - min value.
I hope one of these two approaches proves helpful.
Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items