Is there a way to edit the pager row placed at the top of the grid to add some controls aligned on the right side?
What I'm trying to do is something like the screenshot I'm sending you in the attachment. I done it with some absolute positioning from inside the TitlePanel Template. The problem is that when the pager becomes not visible due to the insufficient number of pages, my addictional controls will go over the top border of the grid…
Moreover, is there a way to move the pager from the left side to the right side of the grid?
Thanks
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Please, take a look at the following tutorial: http://demos.devexpress.com/Tutorials/Grid/Templates/CustomPager/CustomPager.aspx
The PagerBar template has been added.
You may use the FindPagerBarTemplateControl method to find the control instance in the template.
public Control FindPagerBarTemplateControl(string id, GridViewPagerBarPosition position);
public enum GridViewPagerBarPosition { Top, Bottom }
A new "Page" replacement type has been added as well. Here is the example of using the PagerBar template (The ASPxGridViewTemplateReplacement with ReplacementType equals to "Pager" will render the grid pager):
<PagerBar>
<table>
<tr>
<td>The left part</td>
<td><dxwgv:ASPxGridViewTemplateReplacement ID="Pager" runat="server" ReplacementType="Pager" /></td>
<td>The right part <input type="button" value="Click me!" /></td>
</tr>
</table>
</PagerBar>
Thank you,
Andrew R&D.