Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7579097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:35:30+00:00 2026-05-30T17:35:30+00:00

It seems Pager functionality is currently disabled for treegrid. But I would like to

  • 0

It seems Pager functionality is currently disabled for treegrid. But I would like to add some custom icons like export icon, refresh to the top pagination as shown below. Are there any other alternatives to achieve this functionality for treegrid as well. Thanks in advance…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T17:35:31+00:00Added an answer on May 30, 2026 at 5:35 pm

    First of all I would recommend you to read the answer which describe how to add toppager to the grid. You can do the same with tree grid.

    The id of the toppager will be constructed from the grid id. If the grid id for example is “treegrid”, then the id of the toppager will be “treegrid_toppager”. The pager will hold tree parts: left, center and right. Because the toppager of the tree grid will be always empty you can save the place on the pager if you remove or hide the center part:

    $('#treegrid_toppager_center').hide();
    

    The next improvement in position of the texts in the navigator bar you can archive if you would include the text inside of <span> element which CSS styles you can define yourself. For example

    $grid.jqGrid('navGrid', '#treegrid_toppager',
        {add: false, edit: false, del: false, search: false,
            refreshtext: '<span class="ui-pg-text">Refresh</span>'});
    $grid.jqGrid('navButtonAdd', '#treegrid_toppager', {
        caption: '<span class="ui-pg-text">Columns</span>',
        buttonicon: "ui-icon-wrench",
        onClickButton: function () {
            this.jqGrid("columnChooser");
        }
    });
    

    and

    .ui-jqgrid-toppager .navtable .ui-pg-div .ui-pg-text {
        position: relative;
        top: 1px;
        padding-right: 3px;
        float: left;
    }
    

    Additionally I find better to include one more additional CSS definition

    .ui-jqgrid-toppager .navtable {
        padding-top: 1px;
        padding-bottom: 0px;
    }
    

    which can a little improve the position of the buttons in the toppager.

    The results you can see on the following demo:

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to add some functionality from a plugin I have made into a
We're extensively using NHibernate multi-query functionality and experiencing strange behavior. Seems like NHibernate does
I have looked at their help page it seems like I can register a
I'm not entirely sure what's breaking here on this page: http://grandoaks.org/floor.html but it seems
Perhaps I'm missing this functionality out of the box, but I can't seem to
Occasionaly we will have a page that required some page specific Javascript functionality. I
I am working on a PHP application and missing some of the functionality that
I would like to dynamically modify the values of certain form elements, more specifically
This seems possible, but I'm having a little trouble figuring out how to implement
I've tried PopBox to have a textarea pop up, but the functionality of PopBox

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.