diff options
Diffstat (limited to 'examples/example4-model.html')
-rw-r--r-- | examples/example4-model.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/example4-model.html b/examples/example4-model.html index 5118c2d..260cd63 100644 --- a/examples/example4-model.html +++ b/examples/example4-model.html @@ -118,7 +118,7 @@ enableCellNavigation: true, asyncEditorLoading: true, forceFitColumns: false, - secondaryHeaderRowHeight: 25 + topPanelHeight: 25 }; var sortcol = "title"; @@ -153,10 +153,10 @@ } function toggleFilterRow() { - if ($(grid.getSecondaryHeaderRow()).is(":visible")) - grid.hideSecondaryHeaderRow(); + if ($(grid.getTopPanel()).is(":visible")) + grid.hideTopPanel(); else - grid.showSecondaryHeaderRow(); + grid.showTopPanel(); } @@ -194,9 +194,9 @@ var columnpicker = new Slick.Controls.ColumnPicker(columns, grid, options); - // move the filter panel defined in a hidden div into an inline secondary grid header row + // move the filter panel defined in a hidden div into grid top panel $("#inlineFilterPanel") - .appendTo(grid.getSecondaryHeaderRow()) + .appendTo(grid.getTopPanel()) .show(); grid.onCellChange.subscribe(function(e,args) { |