You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a TypeError when trying to call the refresh method on a Syncfusion Grid that includes a checkbox column. The error message is as follows: TypeError: Cannot read properties of undefined (reading 'pvtData'). It seems that the issue might be related to the use of a custom data adaptor in the dataSource.
Steps to Reproduce:
Create a Syncfusion Grid with a checkbox column.
Use a custom data adaptor for the data source.
Call the refresh method on the grid.
Expected Behavior:
The grid should refresh without any errors, correctly displaying the checkbox column and the data.
Actual Behavior:
When the refresh method is called, the following error occurs:
When using DataManager with CustomDataAdaptor, the DataManager expects “url” property to be set. This is the reason you are facing the current scenario. To resolve this, set a valid string to “url” property of the DataManager. Please refer to the code snippet and sample for your reference:
dataSource: new DataManager({
url: 'url-placeholder', // provide a valid string
adaptor: new CustomDataAdaptor({
getData: (option) => {
. . . . .
},
}),
}),
I encountered a TypeError when trying to call the refresh method on a Syncfusion Grid that includes a checkbox column. The error message is as follows: TypeError: Cannot read properties of undefined (reading 'pvtData'). It seems that the issue might be related to the use of a custom data adaptor in the dataSource.
Steps to Reproduce:
Expected Behavior:
The grid should refresh without any errors, correctly displaying the checkbox column and the data.
Actual Behavior:
When the refresh method is called, the following error occurs:
Code Example:
Here is the relevant code snippet that reproduces the issue:
Additional Information:
The text was updated successfully, but these errors were encountered: