1.jquery åashxä¼ å¼ï¼
2.jqgrid表头å并
3.JGridå并表头
jquery åashxä¼ å¼ï¼
è·aspxä¸æ ·ä¼ ï¼éé¨å代ç ï¼ï¼
$("#list").jqGrid({
url:'InvStorageIn.ashx?源码gentoo源码安装图解opt=query',
datatype:'json',
mtype:'GET',
height:'px',
colNames:['票æ®å·ç ','ç±»åç¼å·','票æ®ç±»å','ç¶æç¼å·','票æ®ç¶æ','å ¥åºç»è®°äºº','ç»è®°æ¥æ'],
jqgrid表头å并
建议æ´æ°å°jqgrid4.2,4.2æ°å äºè¡¨å¤´å并æ¹æ³ã4.2ä¹åçï¼æ人èªå·±è§£å³è¿å并表头é®é¢ï¼ä¸è¿å¨æå¨åçæ¶ååå¨è¾å¤§çbugãå¦ä¸
jQuery("#grid").jqGrid('setGroupHeaders', {
useColSpanStyle: false,
groupHeaders:[
{ startColumnName: 'amount', numberOfColumns: 3, titleText: '<em>Price</em>'},
{ startColumnName: 'closed', numberOfColumns: 2, titleText: 'Shiping'}
]
});
å ·ä½å¯ä»¥çå®æ¹wiki
JGridå并表头
建议æ´æ°å°jqgrid4.2,4.2æ°å äºè¡¨å¤´å并æ¹æ³ã4.2ä¹åçï¼æ人èªå·±è§£å³è¿å并表头é®é¢ï¼ä¸è¿å¨æå¨åçæ¶ååå¨è¾å¤§çbugãå¦ä¸ jQuery("#grid").jqGrid('setGroupHeaders', { useColSpanStyle: false, groupHeaders:[ { startColumnName: 'amount', numberOfColumns: 3, titleText: '<em>Price</em>'}, { startColumnName: 'closed', numberOfColumns: 2, titleText: 'Shiping'} ] }); å ·ä½å¯ä»¥çå®æ¹wiki