extjs - limit field.Spinner data -


स्पिनर और स्टोर (स्टोर में फ़ील्ड है: 'price')

  Ext.define ( 'TPL.store.price', {fields: [{name: 'price', type: 'string'}, प्रॉक्सी: {type: 'ajax', url: '/ author / price' ', reader: { टाइप करें: 'जेसन', रूट: 'डेटा', सफलता प्रॉपर्टी: 'सफलता'}}});  

और मैं अपने क्षेत्र में चाहता हूं। स्पिनर केवल 'मूल्य' । मेरे पास दो कार्य हैं स्पीनअप और ऑनस्पिनडाउन कि फ़ंक्शंस को +1 या -1 मूल्य चाहिए, लेकिन अधिक से अधिक नहीं और स्टोर 'मूल्य'

  spinner = Ext.create ('Ext। Form.field.Spinner ', {step: 1, width: 100, height: 10 onSpinUp: function () {} onSpinDown: function () {};  

धन्यवाद


Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -