Bootstrap
Docs HomeProduct SiteSupport
  • Introduction
  • Buttons
    • Configuration
    • Data Binding
  • Checkboxes
    • Configuration
    • Data Binding
    • Events
  • Input
    • Configuration
    • Data Binding
    • Events
    • Methods
  • Modals
    • Message
    • Error
  • Search List
    • Configuration
    • Data Binding
    • Methods
  • Select
    • Configuration
    • Data Binding
    • Events
  • Table
    • Configuration
    • Data Binding
    • Events
  • Web Components
Powered by GitBook
On this page
  1. Table

Data Binding

PreviousConfigurationNextEvents

Last updated 2 years ago

There is no for the Bootstrap table component. By default, all columns in a data table will be displayed in the table.

const people = [    
    { name: "John Ross", address: "124 some address" },
    { name: "Ted Gannon", address: "456 some other address" }
]

const table = new wire.bsTable().render("#table", {
    data: users
});

Control column display using the base WireBootstrap component's attributes.

...

const table = new wire.bsTable().render("#table", {
    data: users,
    hide: ["address"] 
});
data map
hide or show