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.
Unfortunately, activation email could not send to your email. Please try again.

How to hide the Grid footer?

You can hide the pager details from being displayed in the Grid by using the dataBound event of the Grid. The dataBound event is triggered when the Grid is bound with data during the initial rendering. In the argument of the dataBound event, you can obtain the following details.

 

Name

Description

cancel

Returns the cancel option value.

model

Returns the grid model.

type

Returns the name of the event.

 

In the following code example, the Grid is rendered with the virtual paging enabled by using the allowVirtualScrolling property.

 

  1. Render the Grid.

 

 

MVC

 

ASP.NET

 

  1. In the dataBound event, you can hide the pager <div> from being displayed by using the following code example.

 

 

When you need to hide only the message within the pager <div> from being displayed, you can use the following code example.

 

 

Figure 1: Grid with Virtual scrolling enabled – Pager <div> visible

Figure 2: Grid with Virtual scrolling enabled – Pager <div> hidden

Figure 3: Grid with Virtual scrolling enabled – Message within pager <div> is hidden

Article ID: Published Date: Last Revised Date: Platform: Control:
5443 09/22/2015 09/22/2015 JavaScript ejGrid
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.