This is my first attempt at using Vue 3 and Data Grid. I would like to leverage CDN to reference JavaScript files in order to implement related functionalities. However, I haven't found any relevant tutorials in public knowledge bases. How should I get started? I'm looking to implement a relatively simple feature and don't want to use scaffolding as it feels too cumbersome.
Excel like filter in Vue Grid component | Syncfusion
I want to add filtering functionality similar to what you'd find in tables, but I'm unsure how to do it.
Hi yu ma,
Greetings from Syncfusion support,
We understand that you are exploring Vue 3 and the Syncfusion Data Grid for the first time and prefer using direct scripts for simplicity. Below is an explanation of how to implement the Syncfusion Vue Data Grid using direct script references and enable Excel-like filtering.
Syncfusion provides a straightforward way to include Vue components via CDN links, bypassing the need for a build process. This approach is perfect for quick prototypes or simple projects.
Refer to the steps below to set up and use the Syncfusion Vue Grid with direct script inclusion:
|
[index.html]
<title>Syncfusion Vue (ES5) UI Components</title> <!-- Essential JS2 for Vue (All components Styles) --> <link rel='nofollow' href="https://cdn.syncfusion.com/ej2/27.1.48/material.css" rel="stylesheet" type="text/css" /> <!-- Vue library file --> <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script> <!-- Syncfusion Vue components script --> <script src="https://cdn.syncfusion.com/ej2/27.1.48/ej2-vue-es5/dist/ej2-vue.min.js" type="text/javascript"></script> <script src="https://cdn.syncfusion.com/ej2/syncfusion-helper.js" type="text/javascript"></script> </head> |
This process is already covered in our documentation:
Getting Started with Syncfusion Vue UI Components using direct scripts
|
[index.html] :data-source="data" :allow-paging="true" :page-settings="pageSettings" :allow-filtering="true" :filter-settings="{ type: 'Excel' }"> </ejs-grid> |
Sample: https://stackblitz.com/edit/oktns6-yjrccy?file=public%2Findex.html
Please get back us if you need further assistance.
Regards,
Vikram S