Skip to content

New Styling and Event Emitters

Compare
Choose a tag to compare
@ghiscoding ghiscoding released this 18 Jan 22:19
· 4155 commits to master since this release

Fixes

  • check grid exist before trying to resize (or auto-resize) the Grid to avoid console error thrown by SlickGrid
  • fix an error thrown by SlickGrid when editing a row and highlighting it

New Features

  • add info icon Formatter Formatters.infoIcon with has Font Awesome (fa-info-circle)
  • add extra SASS border variables for multiple elements
    • border around Header Titles
    • border around Header Filter Row
    • border around ViewPort
  • add flag to show/hide Clear Filters & Toggle Filter commands in GridMenu
  • add Refresh Dataset command in GridMenu for backendAPI Services only (OData / GraphQL)
  • added many new Event Emitters
    • onDataviewCreated
    • onGridCreated
    • onBeforeGridCreate
    • onBeforeGridDestroy
    • onGridDestroyed

OBSOLETE in future version

These 2 Event Emitters got renamed to be consistent in the new naming structure (every emitter now start with onX prefix). You can still use the old names, but I'd like to remove them in future releases.

  • dataviewChanged renamed to onDataviewCreated
  • gridChanged renamed to onGridCreated

You can see the Event Emitter documentation in the Wiki - Grid & DataView Events