-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am unable to get the sideBar to render using Enterprise #7
Comments
Could you provide a small example of your code? I got it working by importing <script>
import AgGridSvelte from 'ag-grid-svelte';
import 'ag-grid-community/styles/ag-grid.css';
import 'ag-grid-community/styles/ag-theme-alpine.css';
import 'ag-grid-enterprise';
const columnDefs = [{ field: 'a' }, { field: 'b' }];
const rowData = [
{ a: 1, b: 2 },
{ a: 3, b: 4 }
];
</script>
<div style:height="500px" class="ag-theme-alpine">
<AgGridSvelte {rowData} {columnDefs} sideBar />
</div> |
Thanks, That did enable it.
Such a simple solution.
Thank you again
Ron
…On Sun, Mar 5, 2023, 2:44 AM Michael Kim ***@***.***> wrote:
Could you provide a small example of your code? I got it working by
importing ag-grid-enterprise and setting the sideBar prop to true:
<script> import AgGridSvelte from 'ag-grid-svelte'; import 'ag-grid-community/styles/ag-grid.css'; import 'ag-grid-community/styles/ag-theme-alpine.css'; import 'ag-grid-enterprise'; const columnDefs = [{ field: 'a' }, { field: 'b' }]; const rowData = [ { a: 1, b: 2 }, { a: 3, b: 4 } ];</script>
<div style:height="500px" class="ag-theme-alpine">
<AgGridSvelte {rowData} {columnDefs} sideBar />
</div>
—
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACSKM6Q6XJ5N2GFGUWMZ4FLW2Q77LANCNFSM6AAAAAAVPWQ5ZE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have tried the steps listed on the docs but it doesn't render the side bar.
i have imported 'ag-grid-enterprise' before rendering the grid
I have tried 'npm run dev '--force'
I have modified the vite.config.ts to include the 'optimize:include'
The enterprise watermark does show in the console, however no Enterprise features seem to be enabled.
I am using version 29.0
The text was updated successfully, but these errors were encountered: