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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Slow render

Thread ID:

Created:

Updated:

Platform:

Replies:

142933 Feb 26,2019 10:07 AM UTC Feb 27,2019 12:37 PM UTC ASP.NET MVC 1
loading
Tags: Grid
tayfun uyrun
Asked On February 26, 2019 10:07 AM UTC

loading time takes a long time.
response time is 151 ms
2.36 seconds?

ejgrid without load 800 ms ??

Html code:

@(Html.EJ().Grid<object>("VarlikListele")
              .Datasource(datasource => datasource.Json(ViewBag.Varlik).RemoveURL("VarlikSilJson").Adaptor(AdaptorType.RemoteSaveAdaptor))
              .AllowSorting()
              .AllowPaging()
              .ClientSideEvents(e => e.ActionBegin("actionBegin"))
              .AllowResizeToFit()
              .AllowResizing()
              .ShowColumnChooser()
              .ClientSideEvents(eve => { eve.DataBound("databound").ActionComplete("actioncomplete"); })
              .PageSettings(p => { p.PageSize(50); })
              .AllowSearching()

              .ToolbarSettings(toolbar =>
              {
                  toolbar.ShowToolbar().ToolbarItems(items =>
                  {
                      items.AddTool(ToolBarItems.Search);
                      items.AddTool(ToolBarItems.ExcelExport);
                      items.AddTool(ToolBarItems.PdfExport);
                      items.AddTool(ToolBarItems.PrintGrid);

                  });
              })
              .Mappers(map => map.ExportToExcelAction(Url.Action("ExportToExcel")).ExportToPdfAction(Url.Action("ExportToPdf")).ExportToWordAction(Url.Action("ExportToWord")))
              .Columns(col =>
              {
                  bool Primary = true;
                  foreach (var item in (IEnumerable<AllClassController.Kolon>)ViewBag.Kolon)
                  {
                      if (Primary)
                      {
                          col.Field(item.KolonKod).HeaderText(item.KolonAdi).Template("#SistemID").TextAlign(TextAlign.Center).Width(75).IsPrimaryKey(true).Add();
                          Primary = false;
                      }
                      else if (item.KolonKod=="Adi")
                      {
                          col.Field(item.KolonKod).Template("#Adi").Width(200).HeaderText(item.KolonAdi).Add();
                      }
                      else
                      {
                          col.Field(item.KolonKod).Width(200).HeaderText(item.KolonAdi).Add();
                      }
                  }

              }))


cS:

         ViewBag.Varlik= ent.SP_VARLIK_LISTELE_VL(String.Join(",", LokasyonID), _DilID, _FirmaID).ToList();

Vignesh Natarajan [Syncfusion]
Replied On February 27, 2019 12:23 PM UTC

Hi Tayfun, 

Thanks for contacting Syncfusion Support. 

Query#1:- loading time takes a long time.response time is 151 ms 2.36 seconds? 

From your query, we understand that you are facing issue while rendering the ejGrid. We have checked your query and we have prepared sample as per your code example but we are unable to reproduce the reported sisue at our end. Please find the time calculated for number of rows per columns from below:- 

      Loaded Data  
     Initial Rendering  
  10 Columns * 50 Rows  
        2.3ms 
  5 Columns * 50 Rows  
        1.2ms 
   

Query#2:- ejgrid without load 800 ms ?? 

We need some additional information to find the cause of the issue. Please share us the following details. 

  1. Complete Grid code example(both in server and client side).
  2. How many number of columns and rows you have used in the Grid.
  3. EjGrid without Load( means doesn’t bind data to the Grid)
  4. Share time take to load data with number of columns and rows.

Regards, 
Vignesh Natarajan. 

 


CONFIRMATION

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

;