code: public void preSetupGrid(String strMenu)
      {
          if (strMenu == null)    // Always
              strMenu = m_recDetail.getField(MenusModel.ID).toString();
  
          m_recDetail.setKeyArea(MenusModel.PARENT_FOLDER_ID_KEY);
          m_recDetail.addListener(new StringSubFileFilter(strMenu, m_recDetail.getField(MenusModel.PARENT_FOLDER_ID), null, null, null, null));
      }
docs: Code to display a Menu.