JavaScript DataManager Overview

19 Jun 20201 minute to read

The Syncfusion DataManager plays a central role in practically all web applications built with Syncfusion UI. It is an abstraction for using local data—arrays of JavaScript objects—or remote data—web services returning JSON, JSONP, oData or XML.

Basically, all services that have JSON acts as a transport.

Key Features

DataManager has many abilities and responsibilities, among which to:

  1. DataManager - Communicates with data source and returns the desired result based on the Query provided.

  2. JavaScript QueryDataManager have APIs for generating JavaScript data query with ease.

  3. CRUD in individual requests and BatchCRUD operations are fully supported. The options are enabled to commit the data as a single or multiple requests.

  4. AdaptorsAdaptors are specific dataSource type aware interfaces that are used by DataManager to communicate with DataSource. Three adaptors are created. They are, ODataAdaptor, JsonAdaptor and UrlAdaptor

  5. Model binding – Simple model binding is made using DataManager. You can directly bind Query result to HTML element.

  6. Calculate and maintain aggregates, sorting order and paging

In other words, the DataManager fully supports CRUD (Create, Read, Update, Destroy) data operations, and provides both client-side and server-side support for sorting, paging, filtering, grouping, and aggregates.