Title: add custom-button to pagination-bar? Post by: digo on July 22, 2013, 01:21:52 AM Hi!
I would like to add some text and a button after the refresh-button in the pagination-bar. Is this possible? Thank! Digo Title: Re: add custom-button to pagination-bar? Post by: stworthy on July 22, 2013, 07:04:54 PM You are allowed to append the existing element to pagination bar. Before using this feature please download the updated pagination plugin from http://www.jeasyui.com/easyui/plugins/jquery.pagination.js and include it to your page.
Code: <div class="easyui-pagination" data-options="total:114,buttons:'#bb'" style="border:1px solid #ddd;"></div> Title: Re: add custom-button to pagination-bar? Post by: digo on July 24, 2013, 01:14:02 AM Hi!
Thanks for your reply! I added http://www.jeasyui.com/easyui/plugins/jquery.pagination.js and the easyui-pagination-div, but there is no change within the pagination-bar. By using Firebug I can see, that there is an invisible additional pagination-bar blow the grid. Any suggestions? Thanks! Digo Code: <div class="easyui-layout" fit="true"> Title: Re: add custom-button to pagination-bar? Post by: stworthy on July 24, 2013, 06:55:46 AM The code below works well. Please refer to this example http://jsfiddle.net/GTUCZ/
Code: <div class="easyui-pagination" data-options="buttons:'#bb'" style="width:800px;border:1px solid #ccc"></div> Title: Re: add custom-button to pagination-bar? Post by: digo on July 24, 2013, 07:29:13 AM Thanks.
Yes, the code works well, but I expected another output ;-) I don“t want to add a new pagination-bar - I would like to add some text/some buttons to an existing pagination-bar of a datagrid. In this example: http://jsfiddle.net/H7QDt/ (http://jsfiddle.net/H7QDt/) I get 2 pagination-bars - but I would like to see "Your Label" in the first (grey background) pagination-bar. Any suggestions? Thanks! Digo Title: Re: add custom-button to pagination-bar? Post by: stworthy on July 24, 2013, 08:15:37 AM Please refer to this updated example http://jsfiddle.net/H7QDt/1/.
Title: Re: add custom-button to pagination-bar? Post by: digo on July 25, 2013, 05:46:08 AM Thanks for your support!
It works fine! Ciao Digo |