alejandro-du / crudui

Automatically generate CRUD-like Vaadin views for any Java Bean
https://vaadin.com/directory#!addon/crud-ui-add-on
Apache License 2.0
86 stars 54 forks source link

double click should always contain doubled-clicked row in selection #61

Closed ldelaprade closed 4 years ago

ldelaprade commented 4 years ago

getGrid().addItemDoubleClickListener ( item -> { // why should I have to test this ? double click should always contain // doubled-clicked row in selection if( item.getSource().getSelectedItems().iterator().hasNext() ) { // do action on selected row

alejandro-du commented 4 years ago

I'm not sure I understand the issue. Are you sure this is a crud-ui issue? If so, can you please elaborate?