Merge branch 'jenkins_with_weblogic' of ssh://192.168.240.178:18081/eapim/eapim-admin into jenkins_with_weblogic
This commit is contained in:
@@ -133,14 +133,17 @@
|
|||||||
var selectedApiGrid = $("#selectedApiGrid");
|
var selectedApiGrid = $("#selectedApiGrid");
|
||||||
selectedApiGrid.jqGrid({
|
selectedApiGrid.jqGrid({
|
||||||
datatype: "local",
|
datatype: "local",
|
||||||
|
gridview: true, // 성능 향상
|
||||||
|
rownumbers: true, // 가상 인덱스
|
||||||
|
rownumWidth: 40,
|
||||||
colNames: ['API ID', 'API 이름'],
|
colNames: ['API ID', 'API 이름'],
|
||||||
colModel: [
|
colModel: [
|
||||||
{name: 'apiId', index: 'apiId', width: 100, align: 'center'},
|
{name: 'apiId', index: 'apiId', width: 100, align: 'center'},
|
||||||
{name: 'apiDesc', index: 'apiDesc', width: 100, align: 'center'}
|
{name: 'apiDesc', index: 'apiDesc', width: 100, align: 'center'}
|
||||||
],
|
],
|
||||||
rowNum: 10,
|
rowNum: -1,
|
||||||
rowList: [10, 20, 30],
|
// rowList: [10, 20, 30],
|
||||||
pager: '#selectedApiGridPager',
|
// pager: '#selectedApiGridPager',
|
||||||
sortname: 'apiId',
|
sortname: 'apiId',
|
||||||
viewrecords: true,
|
viewrecords: true,
|
||||||
sortorder: "asc",
|
sortorder: "asc",
|
||||||
@@ -152,6 +155,9 @@
|
|||||||
// selectedApiGrid.jqGrid('delRowData', rowid);
|
// selectedApiGrid.jqGrid('delRowData', rowid);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
selectedApiGrid.jqGrid('setLabel', 'rn', 'No'); // 가상 인덱스 ColNames
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: url,
|
url: url,
|
||||||
|
|||||||
Reference in New Issue
Block a user