Row height causes problem on ajax and showing row with server side

Row height causes problem on ajax and showing row with server side

fbolandfboland Posts: 18Questions: 0Answers: 0
edited December 2013 in General
Hi,

I'm using datatable with server side processor mode.

Here is a live example : http://lerelaisimmobilier.com/TestDataTable.php

The row are higher than normal because of their content.

The impact is that the "Showing" bloc show "Showing 1 to 20 of 21,254 entries (filtered from 455 total entries)" when only 10 rows are shown at a time.

The other impact is on ajax request : when I scroll down until the next ajax request, he jumps a lot of records.
Ajax request ask for bad iDisplayStart.

It's a big problem for me !

Replies

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    Your table id is "example", but your datatable initialisation doesn't use it.
  • fbolandfboland Posts: 18Questions: 0Answers: 0
    Yes, i don't want to use id's but class instead :

    $('.datatable1').dataTable(....

    It's not a problem ?
This discussion has been closed.