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

ejGrid

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


1 Reply

JK Jayaprakash Kamaraj Syncfusion Team 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. 


Loader.
Live Chat Icon For mobile
Up arrow icon