A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/data_proxy/ below:

Website Navigation


DataProxy Overview | DHTMLX Suite 9 Docs

DataProxy overview

DataProxy is a helper that enables communication with external data sources. Using the helper allows creating a custom URL and assigning it to a variable that considerably simplifies work with server-side backend.

const proxy = new dhx.DataProxy("someUrl", {
// config options
})

The dhx.DataProxy helper takes two parameters:

For example, you can apply it either to DataCollection:

const dataCollection = new dhx.DataCollection();
const proxy = new dhx.DataProxy("https://myCustomUrl.com");
dataCollection.load(proxy);

or to any component of the dhtmlxSuite library that operate with data:

const grid = new dhx.Grid(...);
const proxy = new dhx.DataProxy("https://myCustomUrl.com");
grid.data.load(proxy);

The list of the available methods of dhx.DataProxy is described below.

Methods​ Name Description load() loads data from an external URL save() sends an AJAX request to the server updateUrl() updates the initial URL and parameters that were specified when initializing proxy

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4