MyGrid

mygrid = new dhtmlXGridObject('gridbox');
mygrid.setImagePath("../imgs/");
mygrid.setHeader("Column A, Column B");
mygrid.setInitWidths("100,250")
mygrid.setColAlign("right,left")
mygrid.setColTypes("ro,ed");
mygrid.setColSorting("int,str")
mygrid.enableMultiselect(true)
//mygrid.setOnRowDblClickedHandler(doOnRowDbClick);
mygrid.init();
mygrid.loadXML("../grid.xml");
mygrid.setEditable(false);
function doOnRowDbClick(rId,cIn){
alert("不允許編輯");
}

相關詞條

相關搜尋

熱門詞條

聯絡我們