All docs
V24.1
24.2
24.1
23.2
23.1
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
The page you are viewing does not exist in version 19.2.
19.1
The page you are viewing does not exist in version 19.1.
18.2
The page you are viewing does not exist in version 18.2.
18.1
The page you are viewing does not exist in version 18.1.
17.2
The page you are viewing does not exist in version 17.2.
Box
Map

jQuery/JS Common Types - data - custom-store

GroupItem

An additional type for LoadResult.

import { GroupItem } from "devextreme/common/data/custom-store"
Type:

Object

isGroupItemsArray

A type guard function that checks whether LoadResult is an array of GroupItems.

import { isGroupItemsArray } from "devextreme/common/data/custom-store"

isItemsArray

A type guard function that checks whether LoadResult is an array of items.

import { isItemsArray } from "devextreme/common/data/custom-store"

isLoadResultObject

A type guard function that checks whether LoadResult is a LoadResultObject.

import { isLoadResultObject } from "devextreme/common/data/custom-store"

LoadResult

Specifies returned data of the load() method in CustomStore.

import { LoadResult } from "devextreme/common/data/custom-store"
Type:

Object

Can be an array of items, GroupItems, or a LoadResultObject.

LoadResultObject

An additional type for LoadResult.

import { LoadResultObject } from "devextreme/common/data/custom-store"
Type:

Object

Includes the following fields:

  • data
    Contains an array of items or GroupItems.

  • totalCount

  • summary

  • groupCount