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

com.github.fluorumlabs.disconnect.vaadin.elements.CrudGridElement 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 com.github.fluorumlabs.disconnect.vaadin.elements.mixins.IncludedMixin;
import js.lang.Any;
import org.teavm.jso.JSProperty;

/**
 * <vaadin-crud-grid> is a <vaadin-grid> which automatically configures all its
 * columns based
 * on the JSON structure of the first item received.
 * 

* You cannot manually configure columns but you can still style the grid as it's described in * <vaadin-grid> * Documentation */ @NpmPackage( name = "@vaadin/vaadin", version = Vaadin.VERSION ) @Import( module = "@vaadin/vaadin-crud/theme/lumo/vaadin-crud-grid.js" ) public interface CrudGridElement extends GridElement, IncludedMixin { static String TAGNAME() { return "vaadin-crud-grid"; } /** * Disable filtering in the generated columns. */ @JSProperty boolean isNoFilter(); /** * Disable filtering in the generated columns. */ @JSProperty void setNoFilter(boolean noFilter); /** * Disable sorting in the generated columns. */ @JSProperty boolean isNoSort(); /** * Disable sorting in the generated columns. */ @JSProperty void setNoSort(boolean noSort); /** * Do not add headers to columns. */ @JSProperty boolean isNoHead(); /** * Do not add headers to columns. */ @JSProperty void setNoHead(boolean noHead); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy