Select Grid row using context menu
Ramonrune opened this issue · 2 comments
Ramonrune commented
In vaadin 7-8 we have the following functionality:
`
myGrid.addContextClickListener(new ContextClickListener() {
@Override
public void contextClick(ContextClickEvent event) {
if (!(event instanceof GridContextClickEvent)) {
return;
}
GridContextClickEvent e = (GridContextClickEvent) event;
ContextMenu contextMenuView = new ContextMenu(myGrid, false);
MyModel file = (MyModel) e.getItemId();
fillMenu(contextMenuView, file, e.getItemId());
contextMenuView.open(event.getClientX(), event.getClientY());
});
`
It is really good because i can select Grid Row item before context menu open. In current version i can't do it using Java. I think it would be a great improvement.
web-padawan commented
Thanks for the issue. Moving it to vaadin-grid-flow
repository as related to Grid for Flow.
web-padawan commented
This issue was moved to vaadin/vaadin-grid-flow#491