EJSGrid don't display data

Morning all,
see below my code with syncfusion  with blazor in visual studio.
after running application, the EJSGRID isnit visible in my browser.

i want to know what wrong please

 <EjsGrid DataSource="@moData" AllowFiltering="true" AllowPaging="true" AllowSorting="true">
                <GridPageSettings PageSize="10"></GridPageSettings>
                <GridColumns>
                    <GridColumn Field="@nameof(FlightModels.Row_ID)" HeaderText="Row ID" TextAlign="TextAlign.Right" Width="150"></GridColumn>
                    <GridColumn Field="@nameof(FlightModels.Flight_Name)" HeaderText="Flight Name" TextAlign="TextAlign.Right" Width="150"></GridColumn>
                    <GridColumn Field="@nameof(FlightModels.Flight_No)" HeaderText="Flight N°" TextAlign="TextAlign.Right" Width="150"></GridColumn>
                    <GridColumn Field="@nameof(FlightModels.Flight_Date)" HeaderText="Flight Date" Format="d" Type="ColumnType.Date" TextAlign="TextAlign.Right" Width="150"></GridColumn>
                    <GridColumn Field="@nameof(FlightModels.Direction)" HeaderText="Direction" TextAlign="TextAlign.Right" Width="150"></GridColumn>
                    <GridColumn Field="@nameof(FlightModels.Airport)" HeaderText="Airport" TextAlign="TextAlign.Right" Width="150"></GridColumn>
                    <GridColumn Field="@nameof(FlightModels.Flight_Status)" HeaderText="Flight Status" TextAlign="TextAlign.Right" Width="150"></GridColumn>
                    <GridColumn Field="@nameof(FlightModels.Passengers_Count)" HeaderText="Passenger Count" Format="C2" TextAlign="TextAlign.Right" Width="150"></GridColumn>
                </GridColumns>
            </EjsGrid>

9 Replies

RS Renjith Singh Rajendran Syncfusion Team February 27, 2020 05:47 AM UTC

Hi Roland, 

Thanks for contacting Syncfusion support. 

We suggest you to refer to the below getting started documentation and ensure to add the proper version Nuget packages, Syncfusion Blazor scripts and styles in your application. 

We have also prepared a sample based on the shared codes, with our latest version 17.4.0.51 for your convenience, please download the sample form the link below, 
 
And also if you still face difficulties, then we need more details to further proceed on this and provide you a solution as early as possible. Please get back to us with the following details for better assistance. 
  1. Share the sample which you have tried from your side. So that we could validate with your sample and provide a solution based on your sample.
  2. Share the details of script error if any occurred in the browser console.
  3. Share the Syncfusion version details.
  4. Share with us the details of the browser you are using.

And also we suggest you to bind the “OnActionFailure” event to Grid. This event will be triggered for every failure in Grid. Please share the details you get the “args” for further analysis. 

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

Regards, 
Renjith Singh Rajendran. 




RN Roland Ngadde February 27, 2020 07:55 AM UTC

Hi Rajendran,
tanks for your come back about this issues,
let me check your link and revert to you with some details.


RS Renjith Singh Rajendran Syncfusion Team February 28, 2020 05:41 AM UTC

Hi Roland, 

Thanks for your update. 

We will wait to hear from you. 

Regards, 
Renjith Singh Rajendran. 




RN Roland Ngadde February 28, 2020 05:04 PM UTC

Hi Rajendran,
 I have tried to implement your sample "Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorApp1717982868 " in my project, it work very well, this EJSGRID display data normally.
But when I connect the external data to the EJSGRID's data source, the ejsgrid don't display.
I don't why, but I continu to check in my side.

tanks you


RS Renjith Singh Rajendran Syncfusion Team March 2, 2020 11:02 AM UTC

Hi Roland, 

Thanks for your update. 

Could you please share with us more details regarding the “external data to the EJSGRID's data source”. So that we could proceed further regarding the problem you are facing and provide you a solution as early as possible. Kindly get back to us with the following details for better assistance. 

  1. Share the sample which you have tried from your side. So that we could validate with your sample and provide a solution based on your sample.
  2. Share the details of script error if any occurred in the browser console.
  3. Share the Syncfusion version details.

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

Regards, 
Renjith Singh Rajendran. 



RN Roland Ngadde March 4, 2020 10:01 AM UTC

Hi Rajendran,

below some detail that you want:

1) Syncfusion version details: 
2) details of script error if any occurred in the browser console: in my browser I don't have grid but when I debug my code witch breakpoint in EJSGRID bloc, the cursus break this bloc and I have this error message 
 
you can that when my condition is ok (when moData != null) normally the EJSGRID should display data but it's not the case. 
normally without Data the grid should display the scheme.
N.B: in the other case the same grid display the local data.

3) External source data




my grid is in the condition  as you can see




RS Renjith Singh Rajendran Syncfusion Team March 4, 2020 12:52 PM UTC

Hi Roland, 

Thanks for the details. 

We request you to share the details regarding the type of data you are getting from the oResponse.Response(like whether it’s a List of objects or IEnumerable etc.). And also, as Grid is not rendered in the browser(not even the schema), we suspect that there may be some script errors in the browser’s console window. So please share the details of script error if you face any script errors in browser’s console window. 

And also we would like to inform you that, we have support “Custom way of binding” data to Grid, which is a recommended way for binding data from external service links to Grid. So we suggest you to try binding the data to Grid through CustomAdaptor and if you facing any difficulties, then kindly get back to us. 

Regards, 
Renjith Singh Rajendran. 



RN Roland Ngadde replied to Renjith Singh Rajendran March 11, 2020 02:12 PM UTC

Hi Roland, 

Thanks for the details. 

We request you to share the details regarding the type of data you are getting from the oResponse.Response(like whether it’s a List of objects or IEnumerable etc.). And also, as Grid is not rendered in the browser(not even the schema), we suspect that there may be some script errors in the browser’s console window. So please share the details of script error if you face any script errors in browser’s console window. 

And also we would like to inform you that, we have support “Custom way of binding” data to Grid, which is a recommended way for binding data from external service links to Grid. So we suggest you to try binding the data to Grid through CustomAdaptor and if you facing any difficulties, then kindly get back to us. 

Regards, 
Renjith Singh Rajendran. 


Hi Rajendran,
 I confirm that this incident should be closed.

thanks for your assistance.


RS Renjith Singh Rajendran Syncfusion Team March 12, 2020 05:26 AM UTC

Hi Roland, 

Thanks for your update. 

Please get back to us fi you need further assistance. 

Regards, 
Renjith Singh Rajendran. 


Loader.
Up arrow icon