1
當我沒有選擇該行單擊,什麼happend ....的jqGrid - 鼠標點擊不選擇行
這是我的代碼,我認爲,腳本和CSS的都行,
jQuery的UI-1.8.16.custom.css
ui.jqgrid.css
jquery.min.js
jQuery的ui.min.js
grid.locale-es.js
jquery.jqGrid.min.js
jQuery().ready(function(){
jQuery("#resTables").jqGrid({
url: "categorias.php?q=1",
datatype: "xml",
colNames: ["ID", "Categorias Es", "Categorias En", "Categorias Ru"],
colModel: [
{ name: "idCategoria", index:"idCategoria", key: true,width: 55 },
{ name: "nomCategoriaEs", index:"nomCategoriaEs", width: 250 },
{ name: "nomCategoriaEn", index:"nomCategoriaEn", width: 250, align: "right" },
{ name: "nomCategoriaRu", index:"nomCategoriaRu", width: 250, align: "right" },
],
pager: jQuery("#paginacion"),
rowList:[10,20,30],
sortname: "idCategoria",
sortorder: "desc",
viewrecords: true,
gridview: true,
autoencode: true,
caption:"Categorias" });
jQuery("#resTables").navGrid('#paginacion',{edit:true,add:true,del:false})
jQuery("#resTables").jqGrid('inlineNav',"#paginacion");
});
謝謝!!
什麼也沒發生:S – Peluco