Skip to content

Commit a37c201

Browse files
author
Tim Shawver
committed
Store a reference to the SlickGrid object on the grid element via jquery. This is convenient for debugging and integrating with other js components.
1 parent bb59113 commit a37c201

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

js/src/qgrid.widget.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ class QgridView extends widgets.DOMWidgetView {
399399
this.columns,
400400
this.grid_options
401401
);
402+
this.grid_elem.data('slickgrid', this.slick_grid);
402403

403404
if (this.grid_options.forceFitColumns){
404405
this.grid_elem.addClass('force-fit-columns');

0 commit comments

Comments
 (0)