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.
Syncfusion Feedback

ejGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

126113 Sep 23,2016 11:44 PM UTC Sep 26,2016 12:04 PM UTC ASP.NET MVC 1
loading
Tags: Grid
Arun Gandhi
Asked On September 23, 2016 11:44 PM UTC

Hello,

I need help with two issues.

1. How can I move the Grid Pager to top right instead of bottom right?

2. I need to set the Grid size after search. Currently it varies based on number of records.

Thanks


Jayaprakash Kamaraj [Syncfusion]
Replied On September 26, 2016 12:04 PM UTC

Hi Arun, 

Thank you for contacting Syncfusion support. 

Query 1:  How can I move the Grid Pager to top right instead of bottom right? 
 
We have already discussed displaying grid pager both at the bottom and top of the Grid in the following knowledge base document: 
 

We can display pager only at the top of the Grid using the following code example.   

@(Html.EJ().Grid<object>("Grid") 
        . . . . .         
        .ClientSideEvents(eve=>eve.DataBound("dataBound")) 
        ) 
<script type="text/javascript"> 
    function dataBound(args) {  
       $("#"+this._id+" .e-pager").insertBefore("#" + this._id + " .e-gridheader");//insert the pager element before the grid header 
    }
</script> 



Query 2:  I need to set the Grid size after search. Currently it varies based on number of records. 
 
We are not able to understand your requirement clearly. So, please give us the following to provide a solution,   
 
1.       Provide the screenshot of your expected output.   
2.       Give us more details of what you need.   
3.       Essential Studio version details. 
 
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.

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

;