/syncfusion-angular:syncfusion-angular-data-managerfrom Syncfusion Angular UI Components
Implements Syncfusion Angular 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 Angular 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.
Use this skill when you need to:
This is your primary reference for:
The DataManager is Syncfusion's universal data management module that acts as a bridge between your Angular application and any data source. It provides:
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 | Key Methods |
|---|---|---|
| Local Data Binding | Working with in-memory JSON arrays | JsonAdaptor, executeLocal |
| Remote Data Binding | Calling API endpoints for data | UrlAdaptor, WebApiAdaptor, executeQuery |
| Query Construction | Filtering, sorting, grouping data | from(), where(), select(), sortBy(), take() |
| CRUD Operations | Managing records (add, edit, delete) | insert(), update(), remove(), saveChanges() |
| Adaptor Selection | Choosing the right data source type | 10 adaptors with decision tree |
| Error Handling | Managing failure scenarios | .catch(), try/catch, error status checking |
| Offline Mode | Working without server connection | offline property, localStorage |
| Caching | Improving performance | enableCache, cache clearing strategies |
| Middleware | Customizing requests/responses | applyPreRequestMiddlewares, applyPostMiddlewares |
| Async Patterns | Sequential and parallel operations | async/await, Promise.all(), then/catch |
📄 Read: references/adaptor-decision-gate.md
📄 Read: references/getting-started.md
When to read: Starting new DataManager implementation, understanding package setup, learning TypeScript imports, configuring your first DataManager instance
Topics covered:
📄 Read: references/data-binding.md
When to read: Deciding between client-side and server-side processing, implementing local JSON binding, connecting to remote APIs, understanding executeLocal vs executeQuery patterns
Topics covered:
📄 Read: references/querying-and-filtering.md
When to read: Building queries, filtering by multiple conditions, sorting results, searching data, pagination, grouping records, advanced predicates
Topics covered:
📄 Read: references/crud-operations.md
When to read: Adding new records, updating existing data, deleting records, batch operations, CRUD method parameters, persisting changes to server
Topics covered:
📄 Read: references/adaptors-guide.md
When to read: Selecting appropriate data source, understanding adaptor differences, implementing specific adaptor patterns, working with different API types
Topics covered:
📄 Read: references/middleware-customization.md
When to read: Adding authentication headers, transforming requests/responses, logging API calls, implementing custom business logic
Topics covered:
📄 Read: references/caching-offline-mode.md
When to read: Improving performance with caching, working offline when server unavailable, implementing sync strategies, managing data persistence
Topics covered:
📄 Read: references/advanced-features.md
When to read: Load on demand for large datasets, lazy loading relationships, pagination strategies, deferred operations, async/await patterns, memory management, state persistence
Topics covered:
📄 Read: references/how-to-recipes.md
When to read: Quick solutions for common scenarios, best practices, troubleshooting, pattern examples
Topics covered:
Step 1: Install Package
npm install @syncfusion/ej2-data
Step 2: Create Component
import { Component, OnInit } from '@angular/core';
import { DataManager, Query, JsonAdaptor, ReturnOption } from '@syncfusion/ej2-data';
@Component({
selector: 'app-data-demo',
templateUrl: './data-demo.component.html',
styleUrls: ['./data-demo.component.css']
})
export class DataDemoComponent implements OnInit {
public orders: object[];
ngOnInit(): void {
// Local data
const data = [
{ OrderID: 10248, CustomerID: 'VINET', EmployeeID: 5, ShipCity: 'Reims' },
{ OrderID: 10249, CustomerID: 'TOMSP', EmployeeID: 6, ShipCity: 'Münster' },
{ OrderID: 10250, CustomerID: 'HANAR', EmployeeID: 4, ShipCity: 'Rio de Janeiro' }
];
// Create DataManager with local data
const dataManager = new DataManager({
json: data,
adaptor: new JsonAdaptor()
});
// Execute query
this.orders = dataManager.executeLocal(
new Query().where('EmployeeID', 'equal', 5)
);
}
}
Step 3: Display in Template
<table>
<thead>
<tr>
<th>Order ID</th>
<th>Customer ID</th>
<th>Employee ID</th>
<th>Ship City</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let order of orders">
<td>{{ order.OrderID }}</td>
<td>{{ order.CustomerID }}</td>
<td>{{ order.EmployeeID }}</td>
<td>{{ order.ShipCity }}</td>
</tr>
</tbody>
</table>
const dataManager = new DataManager({
url: 'url',
adaptor: new WebApiAdaptor()
});
// Using Promise
dataManager.executeQuery(new Query().take(10))
.then((result: ReturnOption) => {
this.orders = result.result;
})
.catch((error) => {
console.error('Failed to fetch orders:', error);
});
async fetchOrders(): Promise<void> {
try {
const result = await this.dataManager.executeQuery(
new Query().take(10)
);
this.orders = result.result;
} catch (error) {
console.error('Error:', error);
}
}
const query = new Query()
.where('EmployeeID', 'equal', 5)
.where('ShipCity', 'startswith', 'Rio');
const result = dataManager.executeLocal(query);
const query = new Query()
.select(['OrderID', 'CustomerID', 'EmployeeID'])
.where('EmployeeID', 'greaterThan', 3)
.sortBy('OrderID')
.take(10)
.skip(0);
dataManager.executeQuery(query).then((result: ReturnOption) => {
this.orders = result.result;
this.totalRecords = result.count;
});
| Property | Type | Purpose |
|---|---|---|
json | array | Local data array |
url | string | Remote service endpoint |
adaptor | Adaptor | Data source type handler |
headers | object[] | Custom HTTP headers |
offline | boolean | Enable offline mode |
enableCache | boolean | Enable response caching |
crossDomain | boolean | Enable cross-domain requests |
cachingPageSize | number | Paging record count |
timeTillExpiration | number | Cache TTL in milliseconds (default: infinite) |
ignoreOnPersist | string[] | Properties to exclude from persistence |
timeZoneHandling | boolean | Enable timezone offset handling |
dataManager.executeQuery(query)
.then((result: ReturnOption) => {
if (result.result) {
this.items = result.result;
}
})
.catch((error: any) => {
if (error.status === 401) {
// Redirect to login
console.error('Unauthorized');
} else if (error.status === 403) {
// Access denied
console.error('Forbidden');
} else if (error.status === 500) {
// Server error
console.error('Server error');
} else if (error.status === 0) {
// Network error
console.error('Network error - check connectivity');
}
});
Start with getting-started.md → data-binding.md → querying-and-filtering.md
Start with adaptors-guide.md → crud-operations.md → advanced-features.md
Start with adaptors-guide.md (decision tree) → specific adaptor pattern → middleware-customization.md
Start with advanced-features.md → caching-offline-mode.md → how-to-recipes.md
// Define your data model
interface Order {
OrderID: number;
CustomerID: string;
EmployeeID: number;
ShipCity: string;
}
// Use generics for type safety
const dataManager: DataManager<Order> = new DataManager({
json: orders,
adaptor: new JsonAdaptor()
});
// Typed results
const result = await dataManager.executeQuery(new Query());
const typedOrders: Order[] = result.result as Order[];
references/adaptor-decision-gate.md (opens in a new tab)references/adaptors-guide.md (opens in a new tab)references/advanced-features.md (opens in a new tab)references/caching-offline-mode.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/getting-started.md (opens in a new tab)references/how-to-recipes.md (opens in a new tab)references/middleware-customization.md (opens in a new tab)references/querying-and-filtering.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-angular65 skills in this plugin
/syncfusion-angular-3d-chartImplement interactive 3D charts in Angular applications using Syncfusion. Guide covers setup, chart types (bar, column, stacked variants), customization, data binding, axis configuration, legends, tooltips, selection, data labels, appearance styling, dimensions, print/export, and accessibility. Use this skill whenever a user needs to create, configure, or customize 3D chart visualizations./syncfusion-angular-accordionGuide for implementing Angular Accordion components for collapsible content panels, expandable sections, FAQs, multi-step wizards, step-by-step forms, navigation menus, or tabbed navigation. Use this skill when users mention expanding/collapsing content, accordion layouts, step-by-step workflows, or hierarchical content organization. This skill covers initialization, expand modes, data binding, dynamic loading, animations, nested accordions, and real-world patterns./syncfusion-angular-accumulation-chartImplement and customize Syncfusion Angular Accumulation Charts (Pie, Doughnut, Pyramid, Funnel) with data binding, labels, legends, and tooltips. Use this when creating accumulation charts, configuring chart types, customizing data visualization, adding annotations, or handling interactive chart events in Angular applications.Other plugins' skills for the same job