IE8 compatibility

IE8 compatibility

nigelhvnigelhv Posts: 6Questions: 1Answers: 0
edited January 2012 in General
I've created my first page with DataTables - it works fine in Chrome and Firefox, but it's hopeless in IE8. Searching doesn't work, filtering doesn't work, and the colours are awful. It's at www.ibsed.networcs.net/testpages/DataTables-test.html - could someone let me know where I'm going wrong?

Thanks in advance.

Replies

  • allanallan Posts: 63,538Questions: 1Answers: 10,476 Site admin
    Your HTML is not valid - you've got a FORM tag as a child of the TABLE, which isn't valid: http://validator.w3.org/check?uri=www.ibsed.networcs.net%2Ftestpages%2FDataTables-test.html+&charset=%28detect+automatically%29&doctype=Inline&group=0

    I guess that some newer browsers try to copy with this successfully, while IE8 just says "no" :-).

    Allan
  • nigelhvnigelhv Posts: 6Questions: 1Answers: 0
    Ah yes, I hadn't thought to check that - it works in other (non-DataTables) versions I have of the page. I'll have to find another way around submitting my priority fields back to the server.
  • nigelhvnigelhv Posts: 6Questions: 1Answers: 0
    And thanks for your help, I forgot!
  • allanallan Posts: 63,538Questions: 1Answers: 10,476 Site admin
    Can you not just have the HTML structure FROM>TABLE, rather than TABLE>FORM?

    Allan
  • nigelhvnigelhv Posts: 6Questions: 1Answers: 0
    Okay, I've got that working thanks for the help. Can I turn off column sorting in FixedHeader? Can I combine this with TableTools so that I can offer csv export, printing etc.? Sorry if this is all very basic :-(
  • allanallan Posts: 63,538Questions: 1Answers: 10,476 Site admin
    > Can I turn off column sorting in FixedHeader?

    You need to turn it off for the column using bSortable . FixedHeader will honour that setting.

    > Can I combine this with TableTools so that I can offer csv export, printing etc.?

    Yup :-)

    Allan
This discussion has been closed.