/syncfusion-vue:syncfusion-vue-data-managerfrom Syncfusion Vue UI Components
Implements Syncfusion Vue DataManager for local/remote binding, CRUD, querying, caching, and middleware. Supports JsonAdaptor, ODataAdaptor, ODataV4Adaptor, UrlAdaptor, WebApiAdaptor, WebMethodAdaptor, RemoteSaveAdaptor, GraphQLAdaptor, CustomDataAdaptor, and CustomAdaptor. Covers Query class, filtering, sorting, paging, grouping, persistence, offline mode, caching, and error handling.
Ships in Syncfusion Vue UI Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Reference this skill when you need to:
This is the most critical rule in this skill. It cannot be skipped or bypassed.
When the user provides a service URL without explicitly naming the adaptor type, the agent MUST:
references/adaptor-decision-gate.md (full file)DataManager code with the confirmed adaptor| User Prompt | Gate Required? |
|---|---|
"Build an employee app using this service URL (http://myapi.com/employees)" | ✅ YES — no adaptor specified |
"Connect GridComponent to http://myserver/api/data" | ✅ YES — "API" is ambiguous |
"Use OData v4 endpoint at https://myserver/odata/employees" | ❌ NO — OData v4 explicitly stated |
"My backend returns { Items, Count } at https://myserver/api/orders" | ❌ NO — WebApiAdaptor pattern confirmed |
"I have a REST service at http://custom-url" | ✅ YES — REST is ambiguous (UrlAdaptor vs WebApiAdaptor vs ODataV4) |
"Bind the grid to local list data" | ❌ NO — local binding, no adaptor needed |
📄 Full gate template, adaptor cheat sheet, disambiguation questions, and security rules:
→ references/adaptor-decision-gate.md
When binding to remote services, you MUST implement these protections:
* in production; require HTTPSThird-party API responses can introduce security risks. Always verify endpoint legitimacy, authenticate requests, and validate data before binding to UI components.
| Concept | When to Use | Reference |
|---|---|---|
| Setup | Installing & initial config | setup-vue-2.md, setup-vue-3.md, setup-quasar.md |
| Data Binding | Connecting data sources | data-binding.md |
| Querying | Filtering, sorting, pagination | querying.md |
| CRUD | Insert, update, delete records | crud-operations.md |
| Adaptors | Choosing data source type | adaptors-guide.md |
| Caching | Performance optimization | caching.md |
| Middleware | Authentication, transformation | middleware.md |
| Headers | Custom HTTP headers | how-to-headers.md |
| Parameters | Send extra query params | how-to-parameters.md |
| Offline | Work without internet | how-to-offline.md |
| Feature | Vue 2 | Vue 3 | Quasar | Composition | Options |
|---|---|---|---|---|---|
| Setup | ✅ | ✅ | ✅ | - | ✅ |
| Composition API | - | ✅ | ✅ | ✅ | - |
| Local Data | ✅ | ✅ | ✅ | ✅ | ✅ |
| Remote Data | ✅ | ✅ | ✅ | ✅ | ✅ |
| 10 Adaptors | ✅ | ✅ | ✅ | ✅ | ✅ |
| CRUD | ✅ | ✅ | ✅ | ✅ | ✅ |
| Querying | ✅ | ✅ | ✅ | ✅ | ✅ |
| Caching | ✅ | ✅ | ✅ | ✅ | ✅ |
| Middleware | ✅ | ✅ | ✅ | ✅ | ✅ |
import { onMounted, ref } from 'vue';
import { DataManager, Query, ODataV4Adaptor } from '@syncfusion/ej2-data';
export default {
setup() {
const items = ref([]);
onMounted(async () => {
const dm = new DataManager({
url: 'url',
adaptor: new ODataV4Adaptor()
});
try {
const result = await dm.executeQuery(new Query().take(10));
items.value = result.result;
} catch (error) {
console.error('Error:', error);
}
});
return { items };
}
}
import { DataManager, Query, ODataV4Adaptor } from '@syncfusion/ej2-data';
export default {
data() {
return { items: [] };
},
mounted() {
const dm = new DataManager({
url: 'url',
adaptor: new ODataV4Adaptor()
});
dm.executeQuery(new Query().take(10))
.then((result) => {
this.items = result.result;
})
.catch((error) => {
console.error('Error:', error);
});
}
}
📄 Read: references/adaptor-decision-gate.md
New to DataManager? Start here:
📄 setup-vue-2.md — Vue 2 with Options API
📄 setup-vue-3.md — Vue 3 with Composition & Options API
📄 setup-quasar.md — Quasar Framework
Understanding Data Binding:
Manipulating Data (CRUD):
Querying & Filtering:
Selecting the Right Adaptor:
Includes decision tree and comparison matrix.
Performance Optimization:
Request Customization:
Quick Solutions for Common Tasks:
🔒 Security Warning:
localStorageandsessionStoragestore data unencrypted in the browser. Never store sensitive data (passwords, tokens, PII, payment info, user secrets, authentication credentials) in persisted TreeGrid state. State persistence is safe for UI state only (expand/collapse state, page number, sort order, column visibility, filter selections). For sensitive configuration or user data, use secure server-side session storage instead.
// Vue 3 Composition API
import { ref } from 'vue';
import { DataManager, Query, JsonAdaptor } from '@syncfusion/ej2-data';
const items = ref([]);
const data = [
{ OrderID: 10248, CustomerID: 'VINET', Freight: 32.38 },
{ OrderID: 10249, CustomerID: 'TOMSP', Freight: 11.61 }
];
const dm = new DataManager({ json: data, adaptor: new JsonAdaptor() });
items.value = dm.executeLocal(new Query().take(10));
const dataManager = new DataManager({
url: 'url',
adaptor: new WebApiAdaptor()
});
dataManager.executeQuery(new Query().take(10))
.then((result) => {
console.log('Success:', result.result);
})
.catch((error) => {
const statusCode = error.status;
if (statusCode === 401) {
console.error('Unauthorized - please login');
} else if (statusCode === 404) {
console.error('Data not found');
} else if (statusCode === 0) {
console.error('Network error');
}
});
import { ref, computed } from 'vue';
import { Query } from '@syncfusion/ej2-data';
const dm = new DataManager({ json: allData });
const searchText = ref('');
const filteredData = computed(() => {
if (!searchText.value) return allData;
return dm.executeLocal(
new Query().where('CustomerID', 'contains', searchText.value)
);
});
🔒 Security Warning:
localStorageandsessionStoragestore data unencrypted in the browser. Never store sensitive data (passwords, tokens, PII, payment info, user secrets, authentication credentials) in persisted TreeGrid state. State persistence is safe for UI state only (expand/collapse state, page number, sort order, column visibility, filter selections). For sensitive configuration or user data, use secure server-side session storage instead.
const dataManager = new DataManager({
url: 'url',
adaptor: new WebApiAdaptor()
});
// Apply middleware to add auth token
dataManager.applyPreRequestMiddlewares([
async (context) => {
const token = localStorage.getItem('auth_token');
context.request.headers['Authorization'] = `send_token`;
}
]);
const dataManager = new DataManager({
// Data source
url: 'url', // Remote endpoint
json: localArray, // Local array
// Adaptor selection
adaptor: new WebApiAdaptor(), // Adaptor type
// Headers & auth
headers: [...],
// Network settings
crossDomain: true, // Enable CORS
offline: false, // Offline mode
enableCache: true, // Caching
// Persistence
enablePersistence: true, // Enable state persistence
id: 'dataManager_vue', // Persistence ID
ignoreOnPersist: ['temp', 'debug'], // Properties to exclude
timeZoneHandling: true // Timezone offset handling
});
| Error | Cause | Solution |
|---|---|---|
| 401 Unauthorized | Missing/expired auth token | Add middleware with fresh token |
| 404 Not Found | Wrong endpoint URL | Verify API endpoint URL |
| 0 (Network Error) | No internet connection | Enable offline mode |
| Cross-Origin Error | CORS not enabled | Set crossDomain: true |
references/adaptor-decision-gate.md (opens in a new tab)references/adaptors-guide.md (opens in a new tab)references/caching.md (opens in a new tab)references/crud-operations.md (opens in a new tab)references/data-binding.md (opens in a new tab)references/how-to-headers.md (opens in a new tab)references/how-to-offline.md (opens in a new tab)references/how-to-parameters.md (opens in a new tab)references/middleware.md (opens in a new tab)references/querying.md (opens in a new tab)references/setup-quasar.md (opens in a new tab)references/setup-vue-2.md (opens in a new tab)references/setup-vue-3.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-vue49 skills in this plugin
/syncfusion-vue-3d-chartImplementing Syncfusion Vue 3D Chart component for interactive 3D data visualization. Use this skill ALWAYS when user needs to create 3D charts, visualize data in 3D columns/bars, customize 3D chart axes, configure 3D chart types, style 3D chart appearance, implement user interactions like tooltips and selection, or export/print 3D charts. Essential for displaying multidimensional data with rotation, perspective, and enhanced visual appeal./syncfusion-vue-3d-circular-chartCreate interactive 3D pie and donut charts using Syncfusion Vue components. Use this skill whenever the user needs to visualize data as circular/pie charts with 3D perspective, create donut visualizations, add data labels to charts, customize chart legends, tooltips, empty points and animations. Trigger when user mentions 3D charts, pie charts, donut charts, circular visualizations, 3D pie, data visualization, chart rotation, chart interactivity, or circular types./syncfusion-vue-accumulation-chartMaster Syncfusion Vue Accumulation Charts for building pie, doughnut, funnel, and pyramid visualizations. Always includes data binding, legend configuration, data labels, and accessibility features. Immediately implement any chart type, customize styling, configure legends, format data labels, and add drill-down interactivity using ALWAYS comprehensive examples and patterns./syncfusion-vue-ai-assistviewImplement the Syncfusion Vue AI AssistView component. Use this skill whenever the user needs to create conversational AI interfaces, chatbots, prompt-response systems, or integrate AI services like OpenAI, Gemini, or Claude into Vue applications. Includes setup, prompt management, suggestions, customization, event handling, templates, markdown responses, AI service integration, chain of thoughts visualization, generative UI with dynamic tools, text-to-speech audio conversion, telemetry tracking for AI metrics (duration, tokens, tool calls), and mentions in the prompt editor./syncfusion-vue-barcodeCreate and customize barcode, QR code, and Data Matrix components using Syncfusion Vue Barcode Generator. Use this skill when implementing barcode generation, QR code creation, Data Matrix codes, export functionality, and barcode styling. Covers Syncfusion's BarcodeGenerator, QRCodeGenerator, and DataMatrixGenerator components for Vue applications (Composition API and Options API)./syncfusion-vue-blockeditorImplement Syncfusion Vue BlockEditor component for block-based content editing with rich text, images, tables, and interactive blocks. Use this skill ALWAYS when user needs block editor, notion-style editor, content blocks, rich text blocks, document editor with blocks, modular content editor, or mentions @syncfusion/ej2-vue-blockeditor, BlockEditor, block-based editing, content management editor, collaborative editing, real-time collaboration. Covers all 14 block types, 5 content types, drag-and-drop, menus, methods, events, real-time collaborative editing with Yjs support, user presence and remote cursors, version history, and Composition API patterns.