Directory

← Back

ModelTable

ModelTable Add-on for Vaadin

Author

Contributors

Rating

ModelTable is a UI component add-on for Vaadin.

  • 0.1.0 -> Vaadin 7.x
  • 8.0.7 -> Vaadin Compatibility Server 8.0.6 and newer

Key/Value Design

Sample code

public class Item implements Serializable {
    private String field01;
    //...getter, setter
}

Item item = //...;

ModelTable<Item> modelTable = new ModelTable<>(Item.class);
modelTable.setTitleCaption("Direction.RIGHT [ ColumnSize: " + 3 + "]");
modelTable.setItemDirection(ModelTable.Direction.RIGHT, 3);
modelTable.setItem(item);

modelTable.addMenuItem("Edit", new MenuBar.Command() {
  //...
});

modelTable.addTableGneratedColumn("field01", new Table.ColumnGenerator() {
  //...
});

modelTable.setTableCellStyleGenerator(new Table.CellStyleGenerator() {
  //...
});

Links

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Released
2017-05-18
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.0+
Vaadin 8.0+
Browser
Internet Explorer
Firefox
Opera
Safari
Google Chrome
Internet Explorer
Internet Explorer
Internet Explorer
Online