extjs - Adding a non data bound row to a grid -
this bit of blast past, anyway...
i have grid, loads store, rowselection model, , buttons etc...
mygrid = function(config){ var config = ext.apply({},config,{ cm:'rowselection', store:new ext.data.store({ ajax:true, url:'someurl' })//thumbsucked config, prolly totally wrong }); mygrid.superclass.constructor.call(this, config); } ext.extend(mygrid,extx.grid.gridpanel)
now question is...
how add row grid without adding store?
i want can violate column model ( eg wanna add row has textual info in it, , hyperlink, isn't gonna fit in 4 column wide grid )
can access dataview or something?
this.store.on('load',function(store,records,e){ dowhat() //debugger; },this); };
iamagonnasay no :) grid has defined column model , view bound store - data in store exact. ... no can't insert row in grid not fit columns defined in grid. can expand rowbody of individual row , insert random html in expanded section of row. lookup rowbody plugin.
Comments
Post a Comment