Grid not display

Hi Sir

I create new solution with some of the grid functionality, i add the ej-grid but during compilation it's not show; 
can you help me if there are any missing configuration to apply syncfusion element.

attach complete set my code solution

Attachment: BrillianceFramework_d112709b.rar

1 Reply

SS Seeni Sakthi Kumar Seeni Raj Syncfusion Team August 3, 2018 08:52 AM UTC

Hi Haryzad,  
 
Thanks for contacting Syncfusion Support. 
 
Query:  i add the ej-grid but during compilation it's not show;  
 
From your sample, we could see that you have referred both EJ1 & EJ2 script file. But you’re not referred the needed dependences because of this reported problem is occurred. 
 
  1. Need to refer the JsRender script for ej1 Grid.
  2. If we use both ej1 and ej2 then, we need to refer both script manager.
  3. Also, we need to extend the ej name space with Syncfusion.
 
Layout.cshml page  
 
    <script src="~/lib/jsrender.min.js"></script> 
    <script src="https://cdn.syncfusion.com/ej2/dist/ej2.min.js"></script> 
    @RenderSection("Scripts", required: false) 
    <script> 
            // Extend ej namespace with Syncfusion 
            var dataCopy = Object.assign({}, ej.data); 
            $.extend(ej, Syncfusion); 
            $.extend(ej.data, dataCopy); 
        </script> 
    <ej-script-manager></ej-script-manager> 
    <ejs-scripts></ejs-scripts> 
    @RenderBody() 
 
 
For your convenience we have modified the provided sample please refer the below link, 
 
Regards,  
Seeni Sakthi Kumar S. 


Loader.
Up arrow icon