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
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Table footer disappear when allowVirtualScrolling is false

Thread ID:





143718 Apr 2,2019 10:36 AM UTC Apr 8,2019 01:36 PM UTC jQuery 5
Tags: ejGrid
Luis Carlos
Asked On April 2, 2019 10:36 AM UTC

Good morning.

Why the table footer disappears when allowVirtualScrolling is false, and it appears when allowVirtualScrolling is true? I would like to show the table footer also when allowVirtualScrolling is false.

Refer to the following code example.

I will be waiting for your reply, thank you in advance.

Regards, Luis Carlos.

Vignesh Natarajan [Syncfusion]
Replied On April 3, 2019 11:46 AM UTC

Hi Luis, 
Thanks for using Syncfusion products. 
Query: “Why the table footer disappears when allowVirtualScrolling is false 
By default when allowVirtualScrolling is enabled in ejGrid, pager (footerElement) will be displayed at the bottom contacting the current page and total records. This footer element will not be shown in bottom when VirtualScrolling is not enabled. If you wish to render the pager at the bottom, kindly enable paging in the Grid.  
Refer the below UG documentation for your reference 
Please get back to us if you any queries. 
Vignesh Natarajan. 

Luis Carlos
Replied On April 4, 2019 09:45 AM UTC

Hi again.

Is there any way to enable the table footer without enabling paging neither virtual scrolling?

Thank you for your reply.

Regards, Luis Carlos.

Manivannan Padmanaban [Syncfusion]
Replied On April 5, 2019 11:49 AM UTC

Hi Luis, 

Thanks for the update..  

In virtual scrolling we have load the data based on page size without buffering the entire huge database(i.e. based on row height we have handled the page size for the generated rows).  
But if we set allowVirtualScrolling as “false” then there is no purpose of on demand paging concept (i.e. the total rows are generated in the initial rendering itself). So, its not a valid case. 

Manivannan Padmanaban. 

Luis Carlos
Replied On April 5, 2019 12:12 PM UTC

Hello again.

Let me try to say the same thing another way to understand it better.  
Is possible to show the total rows in the table footer when "allowVirtualScrolling" is false?

Thank you again, I will be waiting for your reply.

Regards, Luis Carlos.

Vignesh Natarajan [Syncfusion]
Replied On April 8, 2019 01:36 PM UTC

Hi Luis, 

Query: Is possible to show the total rows in the table footer when "allowVirtualScrolling" is false? 

We have achieved your requirement using the actionComplete and dataBound event of ejGrid. Please refer the below code example, 

<div id="Grid"></div> 
    <div class="e-pagerstatusbar"> 
        Total Rows count: 
        <span id="page"></span> 
<script type="text/javascript"> 
    $(function () { 
                           columns: [ 
function databound(Args){ 
     var count = this.model.dataSource.length; 
     $("#page").text(count);  // append the page status to grid 
function complete(args){ 
   var count = this.model.currentViewData.length; 
    $("#page").text(count); // update the page count after action complete 

Sample Link: 


Refer our help documentation for your reference 

Note: we have provided the solution for local data only.  

Vignesh Natarajan. 


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