DevExtreme React - Errors and Warnings API
E4001
This error may occur in UI components that include the "summary" feature. For example, if you specify a not-valid summaryType for the DataGrid UI component, this error will occur.
E4003
The available operators are: "!", "=", "<>", ">", ">=", "<", "<=", "startswith", "endswith", "contains", "notcontains".
For more information on filtering syntax, see the Filtering topic.
E4006
Occurs when the value that is set to the data configuration property of the ArrayStore object is not an array.
E4007
This error is specific for the LocalStore and ArrayStore Data Stores. You can specify a compound key expression for these Data Stores by assigning an array to the key configuration property. If a key is undefined, it will be generated automatically based on the specified key expression. However, a key cannot be generated for a compound key expression. So, make sure keys are specified for data with compound key expressions.
E4010
Occurs when creating the Query object by using the createQuery method of a CustomStore.
This error is specific to the CustomStore Data Store, because this type of a DevExtreme Store does not support the creation of queries.
E4014
This error is specific for the ODataStore and ODataContext objects. The keyType property accepts the following values: String, Int32, Int64, and Guid.
E4015
Occurs when calling the objectLink(entityAlias, key) method and passing an entity alias that is not registered for the given ODataCOntext object.
E4017
Occurs when calling the update(key,values) method to modify a key(s).
This error is specific to ArrayStore Data Stores.
E4018
Occurs when the server returns a non-numeric value after the totalCount method of an ODataStore instance is called.
This error is specific to ODataStore data stores.
E4019
Occurs if a filter expression contains different group operators within a single group.
Specify a filter expression that does not contain different group operators in a single group.
The following example illustrates invalid and valid filter expressions.
//Invalid filter expression var filterExpression = [ [ "name", "contains", "A"], "and", ["team", "=", "Accounting"], "or", ["team", "=", "Management"] ] //Valid filter expression var filterExpression = [ [ "name", "contains", "A"], "and", [ ["team", "=", "Accounting"], "or", ["team", "=", "Management"] ] ]
E4021
This error is specific to the CustomStore Data Store.
This error occurs if the load method has resolved the Promise with an unspecified or empty totalCount, or if the totalCount method was not defined.
You can solve the problem by implementing the load method in the following manner.
var store = new DevExpress.data.CustomStore({ // . . . load: function (loadOptions) { var deferred = $.Deferred(); $.get('url/to/the/resource', loadOptions).done(function (response) { deferred.resolve({ data: response.data, totalCount: response.totalCount }); }); return deferred.promise(); } });
See Also
E4022
This error is specific to the CustomStore Data Store.
This error occurs if the load method has resolved the Promise with an unspecified or empty groupCount.
You can solve the problem by implementing the load method in the following manner.
var store = new DevExpress.data.CustomStore({ // . . . load: function (loadOptions) { var deferred = $.Deferred(); $.get('url/to/the/resource', loadOptions) .done(function (response) { deferred.resolve({ data: response.data, groupCount: response.groupCount }); }); return deferred.promise(); } });
See Also
E4024
Occurs in the ODataStore when a string function ("startswith", "endswith", "contains", "notcontains") is used to search or filter a non-string data field.
W4001
Occurs in the ODataStore when a single field is assigned both to the keyType and fieldTypes properties. Remove the field's name from one of the properties.
W4002
Produced by the XmlaStore when an error occurs on loading data for certain cells. For details on the error, refer to the XMLA specification.
If you have technical questions, please create a support ticket in the DevExpress Support Center.