Resize, Sort not working in Nuxt 3 due to modules not being available in Grid component
Hi, I have this simple component:
[WARNING] :: Module "Sort" is not available in Grid component! You either misspelled the module name or forgot to load it.
[WARNING] :: Module "Resize" is not available in Grid component! You either misspelled the module name or forgot to load it.
Hi Fernando Belfort,
We acknowledge your interest in using
the Sort and Resize modules in the Nuxt 3 application. The necessary modules
can be utilized in the provide section.
Please refer to the below sample and code snippet for more information.
Code sample :
|
App.vue <script setup lang="ts"> import { GridComponent as EjsGrid, ColumnsDirective as EColumns, ColumnDirective as EColumn, Resize, Sort } from '@syncfusion/ej2-vue-grids'; const data = [ { OrderID: 10248, CustomerID: 'VINET', EmployeeID: 5, ShipCountry: 'France', Freight: 32.38,}, { OrderID: 10249, CustomerID: 'TOMSP', EmployeeID: 6, ShipCountry: 'Germany', Freight: 11.61,}, { OrderID: 10250, CustomerID: 'HANAR', EmployeeID: 4, ShipCountry: 'Brazil', Freight: 65.83,}, ]; provide('grid', [Resize, Sort]); </script>
|
Sample : Nuxt -
Starter (forked) - StackBlitz
Please get back to us, if you need further assistance.
Regards,
Johnson Soundararajan S
- 1 Reply
- 2 Participants
-
FB Fernando Belfort
- May 26, 2024 08:45 AM UTC
- May 30, 2024 04:09 AM UTC