tree - Extjs 4.2 grid expand not working -
i've migrated extjs 4.1 4.2 , modified lot of problems, in app have tree, , doesnt work when click expand button, doesnt call ajax, (its mvc , every time expand node has call ajax)
in 4.1 working ok, doesnt anything... store:
ext.define('ie.store.seguimiento.packagetracking',{ extend: 'ie.store.seguimiento.treestoreo', alias: 'store.packagetrackinggrid', storeid: 'packagetrackinggrid' , model:'packagetrackingm', root: { text: '', draggable: false, // disable root node dragging attributes:{ }, clearonload :true, clearremovedonload:true, autoload:false, expanded: true, children: [ ] }, proxy: { type: 'ajax', api: { read: 'packagetracking/findpackages' }, reader: { type: 'json', totalproperty: 'totalproperty' }, autoload:false , autosync: true } ,listeners: { beforeload: function(store, operation, eopts){ var kode_jabatan = operation.node.get("foliopaquete"); operation.params.packageid = kode_jabatan; } } });
Comments
Post a Comment