Logo v4.0
Image Description

No Results

  • Get Support
  • GitHub GitHub
Logo v0.2
  • Docs
  • Snippets
  • Getting started
  • Introduction
  • Development
  • Actions
  • Model Actions
  • Report Action
  • Views
  • Form
  • Table
  • Data
  • API

Katrid.Forms.TableView

TableView is the view mode used to render a table with data records, or a query result. The table view widget can be rendered inside a ModelWindowAction or directly on a DOM element.

<script>
const tableStructure = {
  fields: {
    name: {caption: 'Name'},
    category: {caption: 'Category'},
  },
  template: `...`,
}
const table = new Katrid.Forms.TableView(tableStructure);
table.renderTo(document.getElementById('page-content'));
</script>