Footer template duplicating in selection
I was working on adding a paging panel to the footer using a custom footerTemplate, but when I also use ui-grid-selection, I get my additions in both the footer and the selection column.
A plunker is worth more - http://plnkr.co/edit/RUDBAylqlXdbiEdzfKeq?p=preview
Based on the injected html, the selection looks like pinned columns, guessing that makes sense that it has the footer panel. Thoughts on how to add another full width panel?
ii was having the same issue how did you get around this
I ended up appending my own panel to the main div so it is under all render containers (pinned left, body, pinned right), then setting its position to relative. take a look here - https://github.com/brianchance/ng-grid/tree/3.0-paging/src/features/paging
The main ui-grid directive will also transclude any content, which might work.
can you send me a example of using this directive you created . Also will this be merged into the main branch
Here is the pull request - https://github.com/angular-ui/ng-grid/pull/1935
Not sure if it will be merged
On Wed, Oct 29, 2014 at 4:38 PM, mplayer [email protected] wrote:
can you send me a example of using this directive you created . Also will this be merged into the main branch
— Reply to this email directly or view it on GitHub https://github.com/angular-ui/ng-grid/issues/1893#issuecomment-61009703.
i have added a feature to also do client side paging. Also implement angular ui pagination for the pager too. if you are interrested in it i could do a pull request for it
I implemented paging here (https://github.com/brianchance/ng-grid/tree/3.0-paging) but would like to see what others have done.
right correct i look at your code and modified it to work with servrside paging and client side paging. I added a flag for doing client side paging. Also change the page to use bootstrap pagination controller. That way you do need some of the methods like can page forward. would you like me to do a fork of your branch to check in my changes
I would do a separate pull request for them. I had issues with client side paging and sorting/filtering since it only worked on the current page.
ok well i go the clent side paging to work. haven't do sorting or filtering yet. also if there way to make the directive you create use a custom template. So if the user want to use a different paging template that the one provided
It does use a custom template... https://github.com/brianchance/ng-grid/blob/3.0-paging/src/features/paging/templates/ui-grid-paging.html. It looks for pagingTemplate on the options.
On Mon, Nov 3, 2014 at 8:28 AM, malcolm player [email protected] wrote:
ok well i go the clent side paging to work. haven't do sorting or filtering yet. also if there way to make the directive you create use a custom template. So if the user want to use a different paging template that the one provided
— Reply to this email directly or view it on GitHub https://github.com/angular-ui/ng-grid/issues/1893#issuecomment-61484768.
i create a pull request
https://github.com/brianchance/ng-grid/pull/1
take a look at it and let me know what you think. I can add ng-doc comments and test tommrrow if you want