lick', function(e) {
              const item = grid.getEventContext(e).item;
              toggleSelection(item);
            });

            grid.addEventListener('keydown', function(e) {
              const item = grid.getEventContext(e).item;
              if (e.key === 'Enter') {
                toggleSelection(item);
              }
            });
          });
        </script>
      </template>
    </vaadin-demo-snippet>

  </template>
  <script>
    class GridEventContextDemos extends DemoReadyEv