Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Prevent Negative Numbers in a numeric textbox


I have an igGrid with edit mode dialog. On it, I have a textbox which accepts only numbers. I'm trying to prevent negative numbers from being entered in this field. I tried the below:

settings.ColumnSetting().ColumnKey("test").DefaultValue(0).Required(true).NumericEditorOptions(opt=> {

opt.ValidatorOptions(vopt =>


When i run with above and after I enter a correct value, as soon as textbox loses focus, I get an error on infragistics.lob.js.

 Unable to get property 'toString' of undefined or null reference

Please help.