Data Operations with Expando Object

In my project I use grids with expando object source. I use custom data adapter to read data and perform CRUD operations. Everything works well except data operations with expando enumerable.
The common error when call DataOperations.PerformSearching or other operations is System.NullReferenceException: "Object reference not set to an instance of an object."
I used skip and take functions which are native for Enumerable and created Sort method myself. But searching and filtering fuctions are more complex and I cannot reproduce them fast and enough detailed.
Please, write your recomendations how to implement dataoperations in Expando odbject enumerable or when they will be realized by yourself.

1 Reply

VN Vignesh Natarajan Syncfusion Team May 4, 2020 12:25 PM UTC

Hi Stanislav,  
 
Greetings from Syncfusion support.  
 
Query: “In my project I use grids with expando object source. I use custom data adapter to read data and perform CRUD operations. Everything works well except data operations with expando enumerable. 
 
From your query we understand that you are facing issue while performing data operation in Grid with ExpandoObject and Custom Adaptor. In our 2020 Volume 1 release, we have provided support for data operation and crud operation in Grid with Expando and Dynamic Object. So you can bind the ExpandoObject directly to Grid control and perform data operation in it, instead of using Custom Adaptor. Refer our release notes for your reference 
 
 
For your convenience we have prepared sample using ExpandoObject and Grid control. We have performed Data operation and Crud operation in Grid. Kindly download the sample from below  
 
 
Kindly get back to us if you have further queries.  
 
Regards, 
Vignesh Natarajan 


Loader.
Up arrow icon