How to restrict Number Field default value set to '0' in extjs -
i using extjs 3.4, have grid use editor function , form of numberfield type. here scenario, when user starts editing number field , clears , navigating next page makes field value set '0' dirty flag set dont want. so, please me out in having control on cell edited , value updated in cells.
thanks in advance, rk
in extjs, when defined int
field in model.its default value taken 0.we need take of usenull
property in field value true:
{ name: <fieldname>, type: 'int', usenull: true },
Comments
Post a Comment