Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/cdeng/master' into k0stya-rowsp…
Browse files Browse the repository at this point in the history
…an: Fixed an issue where the selected class is not applied to new visible columns (mleibman#1026)

Conflicts:
	controls/slick.columnpicker.js
  • Loading branch information
GerHobbelt committed Nov 5, 2014
2 parents 9c2cb59 + 6a62864 commit ca3005a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions controls/slick.columnpicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@
});

grid.setColumns(newColumnSet);

if (grid.getSelectedRows().length > 0) {
grid.setSelectedRows(grid.getSelectedRows());
}

var evd = new Slick.EventData();
evd.hiddenColumns = invisibleColumns;
evd.visibleColumns = visibleColumns;
Expand Down

0 comments on commit ca3005a

Please sign in to comment.