Unable to have access to the Result using OnActionComplete event

Hello,

I am trying to get access to the data returned by the server on the first OnActionComplete. I have the count but don't find the data.

Brice.

4 Replies

SP Sureshkumar P Syncfusion Team April 22, 2020 07:26 AM UTC

Hi Brice, 
 
Greetings from Syncfusion support.  
 
Yes, we can able to get the server returned data in our actionComplete event argument using argument.Result attribute.  
 
Kindly refer the below screen shot to get the result data. 
 
 
Regards, 
Sureshkumar P 



BF Brice FROMENTIN April 22, 2020 11:30 AM UTC

Thanks but my Result looks like (in PJ)

Attachment: Sans_titre_38d2277.7z


BF Brice FROMENTIN April 22, 2020 12:52 PM UTC

Maybe it should be a great thing if Result was typed.


SP Sureshkumar P Syncfusion Team April 23, 2020 12:51 PM UTC

Hi Brice, 
 
Thanks for your update.  
 
The result update in the action complete event argument based on the class type of the data returned from your server (same as TItem). So, if you require to format into any other type you need to handle it in the server-side data.  If you have facing any difficulties to change the format, please update here with details.  
 
If we misunderstood your requirement. please update your requirement with detailed description. That will help us to provide exact solution as earlier as possible.  
Regards, 
Sureshkumar P 


Loader.
Up arrow icon