forked from lekoala/data-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
data-grid.js
24 lines (21 loc) · 788 Bytes
/
data-grid.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import DataGrid from "./src/data-grid.js";
import ColumnResizer from "./src/plugins/column-resizer.js";
import ContextMenu from "./src/plugins/context-menu.js";
import DraggableHeaders from "./src/plugins/draggable-headers.js";
import TouchSupport from "./src/plugins/touch-support.js";
import SelectableRows from "./src/plugins/selectable-rows.js";
import FixedHeight from "./src/plugins/fixed-height.js";
import AutosizeColumn from "./src/plugins/autosize-column.js";
import ResponsiveGrid from "./src/plugins/responsive-grid.js";
DataGrid.registerPlugins({
ColumnResizer,
ContextMenu: ContextMenu,
DraggableHeaders,
TouchSupport,
SelectableRows,
FixedHeight,
AutosizeColumn,
ResponsiveGrid,
});
customElements.define("data-grid", DataGrid);
export default DataGrid;