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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -