Skip to content

Commit

Permalink
Fix selection event to row details demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Saulis committed Nov 12, 2015
1 parent 3aa98bd commit c003dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h3>Row details</h3>
var detailsOpenIndex = -1;

// Show details for the selected row
grid.addEventListener('select', function() {
grid.addEventListener('selected-items-changed', function() {
grid.setRowDetailsVisible(detailsOpenIndex, false);
var selected = grid.selection.selected();
if (selected.length == 1) {
Expand Down

0 comments on commit c003dd3

Please sign in to comment.