var spread = new GC.Spread.Sheets.Workbook(document.getElementById($scope.id), {});
var sheet = spread.sheets[0];
setRowFilter(sheet);
//表格设置排序,筛选
function setRowFilter(sheet) {
var rowCount, colCount;
rowCount = sheet.getRowCount();
colCount = sheet.getColumnCount();
var cellrange = new GC.Spread.Sheets.Range(0, 1, rowCount, colCount);
var hideRowFilter = new GC.Spread.Sheets.Filter.HideRowFilter(cellrange);
sheet.rowFilter(hideRowFilter);
}
为什么点击升序、降序,没反应
|
|