Window + Grid = problem

I create one Window, and put 2 grid inside, in the window I set:

window.setResizable(false) But when my window open, if I click in sone grid rows my windows minimize, my grid don`t have any listern only a normal grid.

why??

tks

Hi Fabio,

could you perhaps give a minimal working example of this. I tried to recreate the bug with the following code but it worked as it should.

        final VerticalLayout layout = new VerticalLayout();

        Grid grid1 = new Grid();
        grid1.addColumn("Name");
        grid1.addRow("firstname");
        layout.addComponent(grid1);

        Grid grid2 = new Grid();
        grid2.addColumn("Name");
        grid2.addRow("firstname");
        layout.addComponent(grid2);

        Window window = new Window("New Window");

        window.setContent(layout);

        window.setResizable(false);
        UI.getCurrent().addWindow(window);

What browser and version are you using? There is at least one known issue with grids inside windows, please see https://dev.vaadin.com/ticket/19761 Maybe these issues are related.

Thanks,

Henrik