Styling for show/hide columns

This commit is contained in:
Friedrich Lindenberg
2012-02-14 16:30:04 +01:00
parent 7d06754a2f
commit 7e79d39f8d
3 changed files with 7 additions and 6 deletions

View File

@@ -128,7 +128,8 @@ my.DataExplorer = Backbone.View.extend({
// Hash of 'page' views (i.e. those for whole page) keyed by page name
this.pageViews = {
grid: new my.DataTable({
model: this.model
model: this.model,
config: this.config
})
, graph: new my.FlotGraph({
model: this.model
@@ -424,7 +425,7 @@ my.DataTable = Backbone.View.extend({
});
newView.render();
});
$(".root-header-menu").toggle((self.hiddenHeaders.length > 0));
this.el.toggleClass('no-hidden', (self.hiddenHeaders.length == 0));
return this;
}
});