jmztaylor premium asked 1 year ago

The datatable pagination is not rendering properly as seen in screenshot.

Is it possible to use search without having data passed via JS?

*Expected behavior*Properly rendered pagination

*Actual behavior*See screenshot

Resources (screenshots, code snippets etc.)enter image description here

    <div class="datatable">
            <th class="th-sm">Actions</th>
            <th class="th-sm">Title</th>
            <th class="th-sm">Date</th>
        {% for course in courses %}
                <td>{{ course.title }}</td>
                <td>{{ course.datetime }}</td>
        {% endfor %}

Mateusz Lazaru staff answered 1 year ago

Could you recreate this problem using our snippets?

I tried to but everything works fine.

jmztaylor premium answered 1 year ago

To add to this, it seems there are 2 elements being rendered for most items. For example using the demo select

<select class="select">
  <option value="1">One</option>
  <option value="2">Two</option>
  <option value="3">Three</option>
  <option value="4">Four</option>
  <option value="5">Five</option>
  <option value="6">Six</option>
  <option value="7">Seven</option>
  <option value="8">Eight</option>

I get 2 select elements rendered on page.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 5.0.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No