Package zebkit.ui.grid

The package contains number of classes and interfaces to implement UI Grid component. The grid allows developers to visualize matrix model, customize the model data editing and rendering.

// create grid that contains 3 rows and four columns
var grid = new zebkit.ui.grid.Grid([
    [ "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" ],
    [ "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" ],
    [ "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" ].
]);

// add grid top caption
grid.add("top", new zebkit.ui.grid.GridCaption([
    "Title 1",
    "Title 2",
    "Title 3",
    "Title 5",
    "Title 6"
]));