Material theme for ag-grid

This commit is contained in:
Erki Aas 2022-10-11 19:15:29 +03:00
parent c5a76c28ad
commit 3141586477

View File

@ -2,7 +2,7 @@
<div style="height: 100%; width: 100%"> <div style="height: 100%; width: 100%">
<ag-grid-vue <ag-grid-vue
style="width: 100%; height: 100%;" style="width: 100%; height: 100%;"
class="ag-theme-alpine" class="ag-theme-material"
@grid-ready="onGridReady" @grid-ready="onGridReady"
:defaultColDef="defaultColDef" :defaultColDef="defaultColDef"
:columnDefs="columnDefs" :columnDefs="columnDefs"
@ -18,7 +18,7 @@
<script> <script>
import { AgGridVue } from "ag-grid-vue3"; import { AgGridVue } from "ag-grid-vue3";
import "ag-grid-community/styles//ag-grid.css"; import "ag-grid-community/styles//ag-grid.css";
import "ag-grid-community/styles//ag-theme-alpine.css"; import "ag-grid-community/styles//ag-theme-material.css";
import ScreenshotCell from "./ScreenshotCell.js"; import ScreenshotCell from "./ScreenshotCell.js";
export default { export default {