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.

Buggie Double pager forum

Thread ID:

Created:

Updated:

Platform:

Replies:

128047 Dec 28,2016 11:58 AM Jan 2,2017 07:32 AM JavaScript 2
loading
Tags: ejGrid
Diamond
Asked On December 28, 2016 11:58 AM

https://www.syncfusion.com/kb/6302/how-to-display-pager-bar-in-both-top-and-bottom-of-the-grid

When i copy this code id does not work. I do not know why but the actual numbers on the top are not clickable. Wondering what the problem is

Thanks 
Diamond

Diamond
Replied On December 30, 2016 10:04 AM

The problem is exits on IIS not just IIS express. I have also tried multiple browsers with none having success clicking on the actual buttons. Please help me resolve this issue.

Jayaprakash Kamaraj [Syncfusion]
Replied On January 2, 2017 07:32 AM

Hi Diamond, 
 
Thank you for contacting Syncfusion support. 
 
To overcome this problem we suggest you to use .e-numericcontainer class name instead of #NumericContainer in actionComplete event. Please refer to the below code example and sample. 

function processTopPager(gridObj) { 
        // Create a clone pager 
        var pagerClone = gridObj.getPager().clone(true); 
        // Replace the id to numeric container element in the clone pager 
        pagerClone.find(".e-numericcontainer").prop("id", "NumericContainer1"); 
   
        // Prepend the clone element in the Grid control 
        if (gridObj.element.find("#clonePager").length) 
            gridObj.element.find("#clonePager").html(pagerClone.html()); 
        else 
            gridObj.element.prepend(pagerClone.prop("id", "clonePager")); 
   
        // Perform Paging operation while clicking clone pager 
        gridObj.element.find("#NumericContainer1 a").click(function (e) { 
            $("#Grid").ejGrid("gotoPage", $(this).html()); 
        }); 
    } 


Regards, 

Jayaprakash K. 


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.

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.

;