thanx!!! but i’m having problem to get grid object on search.jsp
i cannot able to perform any operation on grid which was created on tab_maintain.jsp.
i want to perform any operation on that grid in parents jsp i.e. search.jsp
Please help me out.
here is code for tab_maintain.jsp
var maintainGrid = null;
doInitGridForMaintain();
//Loading Grid for Maintain Tasks
function doInitGridForMaintain(){
if( maintainGrid==null){
maintainGrid = new dhtmlXGridObject(‘maintainPane’);
}
maintainGrid.setImagePath(“codebase/imgs/”);
maintainGrid.setHeader("
#master_checkbox, ,img:[codebase/imgs/flag.gif],Sr.#,PO #,Source,Part #,Amount,Supplier
Name,Action
Days IN,OUT,CANCEL,Facility,Buyer
Name,First
Delivery, $value to
Cancel,UnitPrice");
//maintainGrid.attachHeader("
#master_checkbox");
maintainGrid.enableAutoHeight(false);
maintainGrid.enableAutoWidth(false);
maintainGrid.setInitWidths(“23,23,40,50,100,50,80,85,85,50,40,40,85,90,60,90,80”);
maintainGrid.setColTypes(“ch,sub_row,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro”);
maintainGrid.setColAlign(“left,left,left,left”);
maintainGrid.setColSorting(",str,int,str,str,int,str,str,str,str,str,str,str,str,int,int");
maintainGrid.setSkin(“MWB2”);
maintainGrid.init();
maintainGrid.addrow(1,“0,i’m here sub_row , ,002,
MWB2_111505051,0588417Z01,200,200,Mogem,Sch,Lee Jones,8/6/2006”);
}