HOW TO use GRID but only with CDN , no install on SERVER SIDE

Hello to everybody. I am trying to use SYNCFUSION - GRID COMPONENT, but I want to use only CDN sources, without installing anything on server side. The documentation is a little confusing about this. Is there any example , a demo page with GRID component , using ONLY the script link and the css references ?

Thanks a lot !


1 Reply

RS Rajapandiyan Settu Syncfusion Team November 15, 2021 09:19 AM UTC

Hi Bonnie, 
 
Thanks for contacting Syncfusion support. 
 
You can render the Syncfusion components by referring CDN scripts in your project. Kindly refer to the below documentation for more information. 
 
Doc:  
 
Demo: 
 
We have prepared a sample for your reference in which we created a ES5 Grid. 
 
 
 
[index.html] 
 
 
<!DOCTYPE html> 
<html lang="en"> 
<head> 
    ----  
    // refer the Syncfusion script 
    <link rel='nofollow' href=https://cdn.syncfusion.com/ej2/material.css rel="stylesheet"> 
    <script src=https://cdn.syncfusion.com/ej2/dist/ej2.min.js></script> 
</head> 
<body> 
    <div id="Grid"></div> 
</body> 
</html> 
 
 
[sample.js] 
 
 
// create the ES5 Grid Component 
var grid = new ej.grids.Grid({ 
  dataSource: data, 
  allowPaging: true, 
  columns: [ 
      --- 
  ] 
}); 
grid.appendTo('#Grid'); 
 
 
 
Please get back to us if you need further assistance with this. 
 
Regards, 
Rajapandiyan S 


Loader.
Up arrow icon