Slow Rendering Interface.

Slow Rendering Interface.

victorkurauchivictorkurauchi Posts: 12Questions: 1Answers: 0
edited January 2013 in General
Hi everyone !

I'm having a little problem here in my code. DataTables (Version 1.8.0) is working just fine since i started using.

But now I have 2.809 registers coming from my database, and here's the thing: When the page is requested, all registers appear fast enough in a standard table with vertical scrolling (even I didn't enable scrollY), and it takes too slow when rendering the DataTables interface with pagination and all the other tools.

I already read the FAQ's and tried:
"bStateSave": true
"bSortClasses": false

My code calling dataTables:
oTable = $('#onrad-table').dataTable({
"bPaginate": true,
"bJQueryUI": true,
"bStateSave": true,
"bSortClasses": false,
"sPaginationType": "full_numbers"
});

May you guys help me ? I appreciate. Best regards.

Replies

  • victorkurauchivictorkurauchi Posts: 12Questions: 1Answers: 0
    Anyone? (:
  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    With sScrollY you could use Scroller with deferred rendering. Or with pagination you could use Ajax loading with deferred rendering.

    Allan
  • victorkurauchivictorkurauchi Posts: 12Questions: 1Answers: 0
    Thank you for the answer Allan. I tried both.
    The problem is rendering the datagrid, when I request the page, all registers come fast from serverside.

    But it takes too long until the user see the datatable (Like 9~15 secs) interface with pagination and search... Another suggestion ?

    Link below shows the moment it renders.
    Before rendering:
    http://dc424.4shared.com/img/KrrUtnoK/s7/0.5144531322951784/before-rendering.jpg

    After rendered (9~15secs):
    http://dc159.4shared.com/img/cu_L0eCC/s7/0.5266966684508472/after-rendering.jpg

    -

    Best regards
  • victorkurauchivictorkurauchi Posts: 12Questions: 1Answers: 0
    Anyone ?
This discussion has been closed.