Categories | Question details Back To List | ||
I am using the method you described as not being supported I don't believe I am using the method you described as not being supported. I am using the follow javascript for the grid: rgrid = new dhtmlXGridObject( 'rgrid' ) ; rgrid.setImagePath( 'codebase/imgs/' ); rgrid.setHeader( 'Index,Item,Supplier ID,Cust. Supp. Name,Supplier Item#,Mfg. Name,Mfg Item#,Last Purchased,1Yr Usage,Last Issued,Core,Noun,Modifier,Division,Description,UNSPSC,Location,Avg. Cost,LPP,UOM,Critical Spare,Active,Stock Code,Notes,Cust. Min.,Cust. Max.,Mat. Code,NMI Resolution,PI Group,PI Supp.,PI Item#,PI Cost,PI Sell Price,Coded UOM,Comment,Coded by,GM %,GM $,% Diff Sell to LPP,$ Diff Sell to LPP,OEM Comm.,Category,UOM Resolution,Ext. Spend,Top 300 Spend,Top 300 Usage,Sub'd,Finalized' ) ; rgrid.attachHeader( ',#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#numeric_filter,#numeric_filter,#numeric_filter,,#text_filter,#text_filter,#text_filter,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,' ) ; rgrid.setInitWidths('40,100,100,130,100,200,100,70,60,70,40,100,100,100,400,60,60,60,60,30,50,50,50,200,40,40,70,200,70,60,100,60,60,50,300,100,40,100,80,80,60,80,80,40,40,40,40,60') ; rgrid.setColAlign( 'right,,,,,,,center,right,center,center,,,,,,,right,right,center,center,center' ); rgrid.setColTypes( 'ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ch,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ch,ro,ro,ro,ch,ch,ch,ch' ) ; rgrid.setSkin( 'light' ) ; rgrid.attachEvent( 'onEditCell', function(stage,id,ind){if (ind==10||ind==40||ind==44|ind==45||ind==46||ind==47) return false;return true;} ) ; rgrid.attachEvent( 'onRowSelect', rgridSelect ) ; rgrid.preventIECaching( true ) ; rgrid.enablePaging( true, 25, null, 'recinfoArea' ) ; rgrid.setPagingSkin( 'toolbar' ) ; rgrid.init() ; rgrid.enableHeaderMenu() ; rgrid.enableMultiselect( false ) ; rgridQString = './rfp.php?op=ilist' ; rgrid.loadXML( rgridQString ) ; Answer posted by Support on Jun 23, 2008 02:12 The code which you provided is correct and must work correctly, but next files need to be included in project in addition to common ones ext/dhtmlxgrid_pgn.js ext/dhtmlxgrid_hmenu.js |