Grid showing No records to display, BUT my list has records populated

Hi guys please assist. My Data Grid is showing 'No records to display' message when I have records in the bound data-list has records. The API also returns records even when I check using Swagger/Postman.

1) The component 

 <SfGrid DataSource=@LstShareholders></SfGrid>


2) The output



3) The List

The code results





1 Reply

RS Renjith Singh Rajendran Syncfusion Team October 21, 2021 08:53 AM UTC

Hi Zabron, 

Greetings from Syncfusion support. 

We tried to reproduce the reported problem by creating a sample from our side. But we could not reproduce the reported problem with the sample from our side. Grid renders fine with data from the list with our sample. We are attaching the sample for your reference, please download and refer the sample from the link below, 

Kindly refer the above sample, and if you are still facing difficulties then the following details would be helpful for us to proceed further. 

  1. Share the exact scenario or replication procedure to reproduce the reported problem.
  2. Share a simple issue reproducing sample for us to validate. Or if possible reproduce the problem with the attached sample and share with us for further analysis.
  3. Share with us the code details regarding the API from which you are fetching the data.
  4. Bind OnActionFailure event to grid, and share the details you get in the args of this event handler.
  5. Share the details of any exception or error occurred in browser console.

The provided information will help us analyze the problem, and provide you a solution as early as possible. 

Regards, 
Renjith R 


Loader.
Up arrow icon