searchPane positioning

searchPane positioning

codeturnercodeturner Posts: 8Questions: 1Answers: 0

Hi

On my page I have buttons showing different things like column vis, column restor and search panes. I want those buttons positioned on the right just above the top right corner of the table and I'm able to do that with no issue. However, as soon as I do that, the searchpane position goes outside of the page once I click on searchpane button. Examples below are with and without the bootstrap
http://live.datatables.net/lihiyuwa/1/edit //bootstrap
http://live.datatables.net/nojoqori/1/edit //no bootstrap
upon inspecting the HTML I notice the search panel is a child of the button and as such it inherits from it's positioning and is offset to the left. The funny thing is as I show/hide the html, css and js panels on the live example the searchPanes move.
Bottom line for us is we need to be able to show the whole seachPanes to the user so is there a workaround or a fix for this issue?

Answers

  • allanallan Posts: 51,467Questions: 1Answers: 7,761 Site admin

    Thanks for the examples. I don't have an immediate fix. let me get back to you on this one - I think it is because caused by the button alignment code running before the panes are fully visible, but I'll check and post back.

    Allan

  • colincolin Posts: 8,150Questions: 0Answers: 1,364

    So this doesn't get forgotten, I've raised it internally (DD-1392 for my reference) and we'll report back here when there's an update.

    Cheers,

    Colin

  • codeturnercodeturner Posts: 8Questions: 1Answers: 0

    Thanks guys

Sign In or Register to comment.