-
-
Notifications
You must be signed in to change notification settings - Fork 12
SlickGrid Plugins
ghiscoding edited this page Dec 12, 2022
·
2 revisions
You can subscribe
to a SlickGrid Event (not an Observable
) named onSelectedRowsChanged
and hook a callback function to it.
// args is an object returning: { rows: number[] }
grid.onSelectedRowsChanged.subscribe((e, args) => {
console.log('onSelectedRowsChanged', args);
});
Refer to the Wiki - Grid On Events to know how to connect an Event.
You can register a Plugin or multiple Plugins by calling registerPlugins
from the Grid Options. The property accept a single Plugin or an array of Plugins.
To enable/disable Row(s) Selection, you can call the enableRowSelection
flag in the Grid Options. You could also choose to select the active row (false
by default) by calling rowSelection: { selectActiveRow: true; }
const gridOptions = {
registerPlugins: myPlugin
}
OR multiple Plugins
const gridOptions = {
registerPlugins: [myPlugin1, myPlugin2]
}
Contents
- Slickgrid-React Wiki
- Installation
- Styling
- Interfaces/Models
- Column Functionalities
- Global Grid Options
- Localization
- Events
- Grid Functionalities
- Auto-Resize / Resizer Service
- Resize by Cell Content
- Add/Delete/Update or Highlight item
- Dynamically Change Row CSS Classes
- Column Picker
- Composite Editor Modal
- Context Menu
- Custom Tooltip
- Excel Copy Buffer
- Export to Excel
- Export to File (CSV/Txt)
- Grid Menu
- Grid State & Presets
- Grouping & Aggregators
- Header Menu & Header Buttons
- Header Title Grouping
- Pinning (frozen) of Columns/Rows
- Row Colspan
- Row Detail
- Row Selection
- Tree Data Grid
- SlickGrid & DataView objects
- Addons (controls/plugins)
- Backend Services