Get selected rows (extjs grid) from dynamic action in APEX -


i have apex grid plugin , writted on extjs. have trigger 'select row' , 1 seleted row successfuly. want selected rows grid in apex dynamic action. how can it?

i don't know extjs , ask write more details . thanks!

part of grid:

ext.apex.tablegrid = function(table, config){ config = config || {};  // apply config, , default config ext.apply(this, config, { xtype: "grid", frame: "true", autoheight: true, autowidth: true, collapsefirst: false, iconcls: 'icon-grid', loadmask: true, striperows: true, titlecollapse: true, frame: true, multiselect: true, cls: "pplab-grid", listeners: {   rowclick: function( g, ri, e ){       $( '#'+config.pluginregionid ).trigger( "rowclickpplabexttabgrid", {          grid: g,         rowindex: ri,         record: g.getstore().getat( ri )       } )   },   rowdblclick: function( g, ri, e ){       $( '#'+config.pluginregionid ).trigger( "rowdblclickpplabexttabgrid", {          grid: g,         rowindex: ri,         record: g.getstore().getat( ri )       } )   }   } });  var g = this, fields = config.fields || [],  cols = config.columns || [], tablecontainer = ext.get( "report_" + this.regionid + "_catch" ), emptytxt = "";  table = ext.get(table);  if ( !table ) {  emptytxt = tablecontainer.dom.innerhtml; tablecontainer.dom.innerhtml = "";  table = tablecontainer.createchild( {   tag: "table",   id: table } ).set( { empty: true } ); };  var ct = table.insertsibling({ id: this.id || ext.id() });   ext.apply(this, { 'ds': ds, 'cm': cm, 'sm': new ext.grid.rowselectionmodel( {   singleselect: false,   listeners: {     rowselect: function( sm, ri, rc ){       $( '#'+config.pluginregionid ).trigger( "rowselectpplabexttabgrid", {          grid: sm.grid,         rowindex: ri,         record: rc       } );     }   } } ), bbar: paging, viewconfig: {    emptytext: emptytxt,   deferemptytext: false } });  .... 


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -