- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 38
Column Picker
        Ghislain B edited this page Jun 1, 2022 
        ·
        1 revision
      
    Enable by default and provides the list of available fields by simply doing a right+click over any column header, you can then hide/show the column(s) you want.
To enable/disable the Column Picker, simply call the enableColumnPicker flag in the Grid Options (enabled by default).
this.gridOptions = {
  enableColumnPicker: true,
  // you can also enable/disable options and also use event for it
  columnPicker: { 
    hideForceFitButton: true, 
    hideSyncResizeButton: true, 
    onColumnsChanged: (e, args) => { 
      console.log('Column selection changed from Column Picker, visible columns: ', args.visibleColumns); 
    } 
  },
}
- Slickgrid-Universal Wikis
- Installation
- Styling
- Interfaces/Models
- Column Functionalities
- Events
- Grid Functionalities
- Auto-Resize / Resizer Service
- Resize by Cell Content
- Column Picker
- Composite Editor Modal
- Custom Tooltip
- Context Menu
- Custom Footer
- Export to Excel
- Export to File (csv/txt)
- Grid Menu
- Grid State & Presets
- Grouping & Aggregators
- Header Menu & Header Buttons
- Pinning (frozen) of Columns/Rows
- Row Selection
- Tree Data Grid
 
- SlickGrid & DataView objects
- Backend Services