Title: Pager: add menu Post by: digo on June 28, 2016, 10:40:10 PM Hi!
I try to extend pager with a menu, but menu-window remains closed. Linkbuttons work fine. Code: <div id="bb"> Javascript: Code: var pager = $('#dg').datagrid('getPager'); Any suggestions? Thanks Digo Title: Re: Pager: add menu Post by: stworthy on June 28, 2016, 11:34:55 PM Please use this code instead.
Code: pager.pagination({buttons:$('#bb')}); Title: Re: Pager: add menu Post by: digo on June 28, 2016, 11:53:30 PM Sorry, no changes.
menu-button is visible and seems to be active, but when I click the button, nothing happens Title: Re: Pager: add menu Post by: stworthy on June 29, 2016, 01:06:36 AM Please look at this example http://code.reloado.com/itariy3/edit#preview. It works fine.
Title: Re: Pager: add menu Post by: digo on June 30, 2016, 04:51:10 AM Hi!
I tried to create an example - *) I need to switch the view *) I need 2 Button for excel-export in pager *) menu for view should also be within pager http://codepen.io/anon/pen/oLWXJO?editors=1010 (http://codepen.io/anon/pen/oLWXJO?editors=1010) My example demonstrates 2 problems: *) I can“t add menu and button (id: bb and id: Digobb) *) search/add/edit buttons disappear when view is changed Any suggestions? Thanks Digo Title: Re: Pager: add menu Post by: stworthy on June 30, 2016, 07:38:59 PM You share the buttons between different views, so you need to backup the buttons before re-creating the datagrid. Please try this updated example http://code.reloado.com/itariy3/2/edit#preview
Title: Re: Pager: add menu Post by: digo on July 04, 2016, 09:47:08 PM Thanks! Works fine!
Digo |