We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Not display Grid , Help plz..

Thread ID:





141737 Jan 1,2019 07:20 AM UTC Jan 3,2019 12:43 PM UTC JSP 3
Tags: Grid
Jun Kwon
Asked On January 1, 2019 07:20 AM UTC

Not Display Grid, Just shown Empty Page Help plz..

<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="ej" uri="/WEB-INF/EJ.tld"%>
<%@ page import="com.syncfusion.*"%>
<%@ page session="false" import="java.util.ArrayList"%>
<%@ page session="false" import="java.util.Iterator"%>
<%@ page import="datasource.GetJsonData"%>

<!DOCTYPE html>
<meta http-equiv="Conten-Type" content="text/html" charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel='nofollow' href="Content/ejthemes/material/ej.web.all.min.css" rel="stylesheet" />
    <script type="text/javascript" src="Scripts/ej.web.all.min.js"></script>
<div class="cols-sample-area">
GetJsonData obj =new GetJsonData();
    Object data = obj.getGridData();
    request.setAttribute("DataSource", data);
<ej:grid id="FlatGrid" allowPaging="true" dataSource="${DataSource}">
<ej:grid-column field="OrderID" headerText="Order ID" width="75" textAlign="right"></ej:grid-column>
<ej:grid-column field="CustomerID" headerText="Customer ID" width="80"></ej:grid-column>
<ej:grid-column field="EmployeeID" headerText="Employee ID" width="75" textAlign="right"></ej:grid-column>
<ej:grid-column field="Freight" headerText="Freight" width="75" format="{0:C}" textAlign="right"></ej:grid-column>
<ej:grid-column field="ShipCountry" headerText="Ship Country" width="80"></ej:grid-column>

ps. Content folder, Scripts folder , and all lib included.

Manivannan Padmanaban [Syncfusion]
Replied On January 2, 2019 10:43 AM UTC

Hi Juo, 

Thanks for contacting syncfusion support. We are happy to assist you. 

Before we proceed we would like to confirm the following details, the provided details will help us to resolved the reported issue as early as possible. 

  1. Share the Essential studio version.
  2. Please Share the screenshot of the issue.
  3. Share the screenshot of script error in console window (if any).
Manivannan Padmanaban. 

Jun Kwon
Replied On January 3, 2019 03:50 AM UTC

Share Info

1. Ver -
2~3. attached zip file.

Thank you for your help.

Attachment: info_9b7090c7.zip

Farveen Sulthana Thameeztheen Basha [Syncfusion]
Replied On January 3, 2019 12:43 PM UTC

Hi Jun Kwon,  

We have checked your given files and we need to confirm that you have followed the below steps for running the JSP sample. 

Please ensure that you have followed the below mandatory steps for running JSP sample in your system. Please refer to the link:- 

Also ensure that you have referred script files for data to be bind into the Grid. From your given files you doesn’t refer jsrender.min file. Please ensure that you have referred the below script files in your sample 

<!DOCTYPE html>  
    <meta name="viewport" content="width=device-width, initial-scale=1.0">  
    <meta name="description" content="Essential Studio for JavaScript">  
    <meta name="author" content="Syncfusion">  
    <!-- Essential Studio for JavaScript  theme reference -->  
    <link rel="stylesheet" rel='nofollow' href="http://cdn.syncfusion.com/" />  
    <!-- Essential Studio for JavaScript  script references -->  
    <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>  
    <script src="http://cdn.syncfusion.com/js/assets/external/jsrender.min.js"></script>  
    <script src="http://cdn.syncfusion.com/"> </script>  
    <!-- Add your custom scripts here -->  
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"  
<%@ taglib prefix="ej" uri="/WEB-INF/EJ.tld"%>  
<%@ page import="com.syncfusion.*"%>  
<%@ page session="false" import="java.util.ArrayList"%>  
<%@ page session="false" import="java.util.Iterator"%>  
<%@ page import="datasource.GetJsonData"%>  
 <div class="cols-sample-area">  
    GetJsonData obj =new GetJsonData();  
    Object data = obj.getGridData();  
    request.setAttribute("DataSource", data);  
    <ej:grid id="FlatGrid" allowPaging="true" dataSource="${DataSource}">  
            <ej:grid-column field="OrderID" headerText="Order ID" width="75" textAlign="right"></ej:grid-column>  
            <ej:grid-column field="CustomerID" headerText="Customer ID" width="80"></ej:grid-column>  
            <ej:grid-column field="EmployeeID" headerText="Employee ID" width="75"textAlign="right"></ej:grid-column>  
            <ej:grid-column field="Freight" headerText="Freight" width="75" format="{0:C}"textAlign="right"></ej:grid-column>  
            <ej:grid-column field="ShipCountry" headerText="Ship Country" width="80"></ej:grid-column>  

Please ensure the above details and after following the above steps still facing the issue please share us the following details. 

  1. Share us the screenshot of the console window if you faced any script Error.
  2. Please share the sample with above modified changes.


Farveen sulthana T 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon