All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fluorumlabs.disconnect.vaadin.elements.GridSelectionColumnElement Maven / Gradle / Ivy

The newest version!
package com.github.fluorumlabs.disconnect.vaadin.elements;

import com.github.fluorumlabs.disconnect.core.annotations.Import;
import com.github.fluorumlabs.disconnect.core.annotations.NpmPackage;
import com.github.fluorumlabs.disconnect.vaadin.Vaadin;
import js.lang.Any;
import org.teavm.jso.JSProperty;

/**
 * <vaadin-grid-selection-column> is a helper element for the <vaadin-grid>
 * that provides default templates and functionality for item selection.
 *
 * 

Example:

*
<vaadin-grid items="[[items]]">
 *  <vaadin-grid-selection-column frozen auto-select></vaadin-grid-selection-column>
 *
 *  <vaadin-grid-column>
 *    ...
 * 
* By default the selection column displays <vaadin-checkbox> elements in the * column cells. The checkboxes in the body rows toggle selection of the corresponding row items. *

* When the grid data is provided as an array of items, * the column header gets an additional checkbox that can be used for toggling * selection for all the items at once. * * The default content can also be overridden */ @NpmPackage( name = "@vaadin/vaadin", version = Vaadin.VERSION ) @Import( module = "@vaadin/vaadin-grid/theme/lumo/vaadin-grid-selection-column.js" ) public interface GridSelectionColumnElement extends GridColumnElement { static String TAGNAME() { return "vaadin-grid-selection-column"; } /** * When true, all the items are selected. */ @JSProperty boolean isSelectAll(); /** * When true, all the items are selected. */ @JSProperty void setSelectAll(boolean selectAll); /** * When true, the active gets automatically selected. */ @JSProperty boolean isAutoSelect(); /** * When true, the active gets automatically selected. */ @JSProperty void setAutoSelect(boolean autoSelect); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy