GC.Spread.Sheets.Tables Namespace > Table type : filterButtonVisible Method |
var instance = new GC.Spread.Sheets.Tables.Table(name, row, col, rowCount, colCount, style, options); var returnValue; // Type: any returnValue = instance.filterButtonVisible(tableColumnIndex, value);
function filterButtonVisible( tableColumnIndex : number, value : boolean ) : any;
false
if all filter buttons are invisible, otherwise, true
.//Add data for (var col = 1; col < 6; col++) { for (var row = 2; row < 11; row++) { activeSheet.setValue(row, col, row + col); } } var sTable = activeSheet.tables.add("table1", 1, 1, 10, 5, GC.Spread.Sheets.Tables.TableTheme.medium2); sTable.bandColumns(true); sTable.bandRows(true); sTable.filterButtonVisible(2, false); alert(sTable.filterButtonVisible(2));