ie8 - stop running this script?

ie8 - stop running this script?

whiterabbitwhiterabbit Posts: 5Questions: 0Answers: 0
edited June 2012 in DataTables 1.9
Hi

When the amount of rows to display reaches about 2000, IE8 shows the above message. how can i stop it doing this?

I've done an example page here: http://www.cisi.org/BOOKMARK/test.htm - all bar the jquery and datatables files are within the one page

on firefox, chrome or IE9 this runs quickly and its not that slow on IE8 - its just the error message i need to get rid of

I've tried turning off sorting and pagination and its being loaded with json data to save on dom processing

splitting the processing up with setTimeout would be fine i guess but datatables doesnt seem to do that.

anyone have any ideas?

Replies

  • allanallan Posts: 63,695Questions: 1Answers: 10,500 Site admin
    Ah good old IE :-). Firstly I would suggest not hiding the table when initialising it - IE does something very odd with that and can seriously hinder performance.

    > 'bServerside': true,

    Is that really want you want (actually there is a typo in there anyway)?

    > I've tried turning off [...] pagination

    That negates any benefit that bDeferRender gives since all rows must be rendered.

    I'd suggest:

    1. Remove bServerSide: true
    2. Remove bPaginate: false
    3. Keep bDeferRender: true
    4. Remove: iDeferLoading: ...

    and see how that that performs.

    Allan
  • whiterabbitwhiterabbit Posts: 5Questions: 0Answers: 0
    thanks Allan that seems to got rid of the message
This discussion has been closed.