errorHandler
Type:
This function accepts a JavaScript Error object as the parameter.
App.js
- // ...
- import ArrayStore from 'devextreme/data/array_store';
- const store = new ArrayStore({
- // ...
- errorHandler: (error) => {
- console.log(error.message);
- }
- });
- class App extends React.Component {
- // ...
- }
- export default App;
key
In the following example, the ProductID
and ProductCode
properties are specified as key properties:
App.js
- // ...
- import ArrayStore from 'devextreme/data/array_store';
- const store = new ArrayStore({
- // ...
- key: ['ProductID', 'ProductCode']
- });
- class App extends React.Component {
- // ...
- }
- export default App;
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.