0
Output looks like this ---------- 嗨, 我使用JQuery
bootgrid
顯示幾百條記錄。我從服務器端返回一個rowCount=10
,但它不工作,並繼續顯示所有行。JQuery的Bootgrid rowCount時不起作用
我的來源是這樣的: HTML:
<th data-column-id='ItemID' data-type='numeric' data-identifier='true'>ID</th>"+
"<th data-column-id='ItemNumber'>Item Number</th>"+
"<th data-column-id='ItemDescription'>Description</th>"+
"<th data-column-id='ItemStatus'>Status</th>"+
"<th data-column-id='DateReceived'>Received Date</th>"+
"<th data-column-id='ItemNotes' data-formatter='text' data-sortable='false'>Text Description</th>"+
//"<th data-column-id='NoOfItems' data-formatter='select' data-sortable='false'>No. of Items</th>"+
"<th data-column-id='commands' data-formatter='commands' data-sortable='false'>Actions</th>";
Ajax Request:
current "1"
rowCount "10"
searchPhrase ""
Ajax Response:
current 1
rowCount 10
rows [12]
0 Object
1 Object
2 Object
3 Object
4 Object
5 Object
6 Object
7 Object
8 Object
9 Object
10 Object
11 Object
total 12
任何幫助將不勝感激。謝謝