Unable to Sort after any first event in IE 8

Unable to Sort after any first event in IE 8

virajviraj Posts: 2Questions: 0Answers: 0
edited March 2012 in DataTables 1.9
Using nightly 1.9 fail to sort after any first event on data Table

Replies

  • sjavasjava Posts: 3Questions: 0Answers: 0
    I got the same problem. I can't go back to 1.9 stable because the paging doesn't work on IE9. Please take a look at this.
  • allanallan Posts: 61,665Questions: 1Answers: 10,095 Site admin
    Can you please provide a bit more information - ideally a link to a test case? This example is using the current nightly: http://live.datatables.net/ubuyew/edit and as you can see it appears to be working as expected.

    Allan
  • virajviraj Posts: 2Questions: 0Answers: 0
    Thank you for reply,
    After doing some changes, i found that this problem occur because of {"sScrollY": 200}
    sScrollY Property on IE 8.
    Please resolve this.
  • rxc2rxc2 Posts: 1Questions: 0Answers: 0
    Hello Allan,

    I face the same problem when I add sScrollY or sScrollX propoery

    Please could you provide us some information ?
  • allanallan Posts: 61,665Questions: 1Answers: 10,095 Site admin
    As I asked in my post above, can you link me to an example of this problem? Without being able to recreate the issue, or at least see it, I'm not going to stand a chance of addressing it :-)

    Allan
  • jkeithjkeith Posts: 3Questions: 0Answers: 0
    edited March 2012
    I am encountering this too..

    With the 1.9.1 nightly, as soon as I specified sScrollX on my dataTable, sorting no longer worked in IE7. FF was fine. I traced it down to the recent adjustments in _fnScrollDraw() -- section 1 (Re-create the table inside the scrolling div). Reverting back to the 1.9.0 version of that code block restored sorting for me.

    At first glance.. is the jquery remove() function perhaps behaving differently in IE7 vs everything else?
  • allanallan Posts: 61,665Questions: 1Answers: 10,095 Site admin
    edited March 2012
    @jkeith: Can you link me to an example of this problem? I've just tried my sScrollX demo ( http://datatables.net/release-datatables/examples/basic_init/scroll_x.html ) with the current 1.9.1.dev version and it appears to work just fine.

    Thanks,
    Allan
  • bandan88bandan88 Posts: 8Questions: 0Answers: 0
    allan, I am also experiencing a similar problem. I sort on 4 columns (all of which are dates in uk format and the mDataProp specifies uk_date as these columns sTypes and sSortDataType), but it seems to have defaulted to column 1, rather than 13 as specified. My code is:

    [code]
    "aaSorting": [ [ 13, 'desc' ], [ 8, 'asc' ], [ 5, 'asc' ],[ 10, 'asc' ] ],
    [/code]

    If I change to "13, asc', then sorting is on column 1, but reversed. Changing 13 to a numeric column also has no impact.

    Debug iguzig.
  • bandan88bandan88 Posts: 8Questions: 0Answers: 0
    allan, sorry debug is anixeh. Bandan88
  • jkeithjkeith Posts: 3Questions: 0Answers: 0
    edited March 2012
    Allan.. I re-produced this at http://live.datatables.net/ayurux.

    The top table has sScrollX applied, the bottom one doesn't.

    With IE7, for the top table, sorting works on the first attempt, subsequent attempts do not.
  • PeteBPeteB Posts: 38Questions: 0Answers: 0
    I have this problem too: http://www.dingsrfcstats.info/web_qry_players.php

    The tables have sScrollY applied.
  • allanallan Posts: 61,665Questions: 1Answers: 10,095 Site admin
    Can you try the latest 1.9.1.dev nightly from the downloads page please: http://datatables.net/download .

    Thanks,
    Allan
  • jkeithjkeith Posts: 3Questions: 0Answers: 0
    Just tried it.. my original issue (IE7 sorting with sScrollX) is gone. Sorting is working fine now. Thanks.
  • PeteBPeteB Posts: 38Questions: 0Answers: 0
    Yes, fixed it for me too. Thanks.
This discussion has been closed.