code: public static GridPanel getInstanceByTabPanel(TabPanel tabPanel, String searchColumnId) {
          GridPanel gridPanel = new GridPanel();
          WebLocator container = tabPanel.getPathBuilder().getContainer();
          gridPanel.setContainer(container);
  
          tabPanel.setContainer(null); // hack to have path without container
          String elPath = tabPanel.getXPath();
          tabPanel.setContainer(container); // set container back
  
          gridPanel.setElPath(elPath);
          gridPanel.setSearchColumnId(searchColumnId);
          return gridPanel;
      }
docs: TODO find better solution for GridPanel that is used in TabPanel