Slick Grid/DataView Objects
In some cases you might want a feature that is not yet available in Angular-Slickgrid
but exists in the original SlickGrid
, what should you do? Fear not, we got you covered. Angular-Slickgrid
exposes the SlickGrid Grid
and DataView
objects through Event Emitters, these objects are created when Angular-Slickgrid initialize the grid (with ngAfterViewInit
). The ones we want to use for our usage would be onGridCreated
and onDataviewCreated
, depending on which object you want to obtain.
The new preferred way is now to use the AngularGridInstance
via the onAngularGridCreated
Event Emitter
Event Emitter
Angular-Slickgrid have the following Event Emitters that you can hook to
onAngularGridCreated
onDataviewCreated
onGridCreated
onBeforeGridCreate
onBeforeGridDestroy
onAfterGridDestroyed
The ones we want to use for our usage would be onGridCreated
and onDataviewCreated
, depending on which object you want to obtain.
Grid & DataView objects through onAngularGridCreated
onAngularGridCreated
Since version 1.x
, we can now access the Slick Grid
& DataView
objects directly from the AngularGridInstance
through the (onAngularGridCreated)
Event Emitter, for example:
View
Component
SlickGrid Events (original SlickGrid)
Usage
Last updated