What's wrong with Search-field? It jumps to the next line((

What's wrong with Search-field? It jumps to the next line((

VyacheslavVyacheslav Posts: 70Questions: 27Answers: 0

I used the download builder to create http://plnkr.co/edit/vFXRDh?p=preview
What's wrong with Search-field (not on the same line with buttons)?

To see a bug make a result window wider.

Answers

  • allanallan Posts: 61,880Questions: 1Answers: 10,139 Site admin

    Your dom doesn't include the HTML markup that Bootstrap requires. If you have a look at the dom documentation you'll see it defines the default for the Bootstrap integration. You should use that as the basis for your own modifications to retain the Bootstrap grid.

    Allan

  • VyacheslavVyacheslav Posts: 70Questions: 27Answers: 0

    Disagree.
    The suggested approach for the Bootstrap integration is ugly and uneatable(((

    I didn't go into details but if you include this file (not present in auto-built-links): buttons.dataTables.css the problem will disappear.
    See at http://plnkr.co/edit/vFXRDh?p=preview

    Could you include this file into Download-builder packages?

    P.S. Maybe It's a trick, but I'd like to stay with it.

  • allanallan Posts: 61,880Questions: 1Answers: 10,139 Site admin

    I agree - the dom string from Bootstrap is ugly, but that is how DataTables currently operates. It will change in the next major version.

    Allan

  • VyacheslavVyacheslav Posts: 70Questions: 27Answers: 0

    Yeees, I believe the next major release will be much better and simpler.

    I just was about including buttons.dataTables.css into auto-generated list of css-files ... to fix filter-field jumping.

This discussion has been closed.