From c003dd3b07baae846583460c2c28ce0aec1f4338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sauli=20T=C3=A4hk=C3=A4p=C3=A4=C3=A4?= Date: Thu, 12 Nov 2015 10:45:31 +0200 Subject: [PATCH] Fix selection event to row details demo. --- demo/details.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/details.html b/demo/details.html index e6c23a69b..45a5b4148 100644 --- a/demo/details.html +++ b/demo/details.html @@ -151,7 +151,7 @@

Row details

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) {