显示序列号
recordsLoaded: function (event, data) { var SrNo = 0; if (data.records) { $.each(data.records, function (index, record) { var row = $('#CFTable').jtable('getRowByKey', record.id); SrNo++; row.find('table tr td:first').text(SrNo); }); } }
获取所有行数据