Hi,
I've installed jqgrid. It's really nice but I got a problem: the Reload Grid button does not appear on the grid. I'm using the version 3.6. Strange, on all samples in the documentation, I can see this button…
The code is:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
$('#grid_customers').jqGrid({<br /> url:'index.php?output=XMLData&table=customers&xml=1&q=1',<br /> datatype: 'xml',<br /> colNames: ['Name', 'Online'],<br /> colModel: [{name:'name', index:'name'}, {name:'online', index:'online', align:'right'}],<br /> autowidth: true,<br /> rowNum: 10,<br /> rowList: [10,20,30],<br /> pager: $('#pager_customers'),<br /> sortname: 'id',<br /> viewrecords: true,<br /> sortorder: 'desc',<br /> caption: 'Customers',<br /> onSelectRow: function(id){<br /> customersClick(id);<br /> }<br /> })<br /> |
|
1 |
<table id="grid_customers"></table> |
|
1 |
<div id="pager_customers" class="scroll"></div> |
|
1 |
|
1 |
Any idea? |
|
1 |
Thanks, |
|
1 |
Renaud |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top