/** * Sets whether to enable grouping of listheader with the header context menu. * <p>Note that it is only applied when {@link #getMenupopup()} is auto. * @since 6.5.0 */ public void setColumnsgroup(boolean columnsgroup) { if (_columnsgroup != columnsgroup) { _columnsgroup = columnsgroup; smartUpdate("columnsgroup", _columnsgroup); } }
/** * Sets whether to enable hiding of listheader with the header context menu. * <p>Note that it is only applied when {@link #getMenupopup()} is auto. * @since 6.5.0 */ public void setColumnshide(boolean columnshide) { if (_columnshide != columnshide) { _columnshide = columnshide; smartUpdate("columnshide", _columnshide); } }
/** Sets the ID of the menupopup ({@link Menupopup}) that should appear * when the user clicks on the element of each column. * * <p>An onOpen event is sent to the popup menu if it is going to * appear. Therefore, developers can manipulate it dynamically * (perhaps based on OpenEvent.getReference) by listening to the onOpen * event. * * <p>Note: To simplify the use, it ignores the ID space when locating * the component at the client. In other words, it searches for the * first component with the specified ID, no matter it is in * the same ID space or not. * * <p>If there are two components with the same ID (of course, in * different ID spaces), you can specify the UUID with the following * format:<br/> * <code>uuid(comp_uuid)</code> * * @param mpop an ID of the menupopup component, "none", or "auto". * "none" is assumed by default, "auto" means the menupopup component is * created automatically. * @since 6.5.0 * @see #setMenupopup(String) */ public void setMenupopup(String mpop) { if (!Objects.equals(_mpop, mpop)) { _mpop = mpop; smartUpdate("menupopup", mpop); } }