missing spaces, e.g. "1 entries0 rows"

missing spaces, e.g. "1 entries0 rows"

olusia454olusia454 Posts: 4Questions: 0Answers: 0

Various options are automatically displayed under the table, such as ‘Showing 1 to 1 of 1 entries0 rows selected0 columns selected0 cells selected’ - there is no space between them as in the example, can this be resolved? So that it looks better?

Replies

  • allanallan Posts: 64,015Questions: 1Answers: 10,555 Site admin

    Sounds like you might be missing some CSS. Can you link to a test case showing the issue so I can take a look please.

    Allan

  • olusia454olusia454 Posts: 4Questions: 0Answers: 0

    div.dt-container .dt-infoHi I mean this one info
    'Showing 1 to 3 of 3 entries0 rows selected0 columns selected0 cells selected" I know that it is element "div.dt-container .dt-info" but I don't now how I can add spaces between sentences.

  • kthorngrenkthorngren Posts: 21,680Questions: 26Answers: 5,019

    You shouldn't need to add the spaces. What Allan is saying is that it appears you are missing something like select.css. This example shows the spaces are there by default. A couple other possibility is you have modified language.select causing the missing spaces or maybe have incorrect or conflicting Datatables and Select CSS files.

    Use the Download Builder to get the correct files. Make sure you aren't loading any of the datatables .js or .css includes more than once.

    If you still need help then please post a link to your page or a test case replicating the issue so we can help debug.
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    Kevin

Sign In or Register to comment.