Table ignoring sDom property? (1.4.3)

Table ignoring sDom property? (1.4.3)

a.quackenbosa.quackenbos Posts: 4Questions: 0Answers: 0
edited August 2009 in General
I'm using DataTable's built in sDOM property to lay out the table. However, the table seems to be ignoring it somehow, and laying out the divs in a different order. It acknowledges the position of elements I assign, but is re-aligning the divs to a seemingly preset pattern.

initiation call:
'sDom': '<"tableHolder"t><"options"flip><"clear">'

Output:

(table)
(the rest as expected).

Can the table not be the first element? My only other options set are some language overrides and bSortClasses: false.

Replies

  • allanallan Posts: 61,711Questions: 1Answers: 10,103 Site admin
    Hi,

    Interesting one - could it simply be a CSS issue? If you have a look at the live DOM (using Firebug / Webkit's Inspector etc) does the DOM look like you would expect from the sDom parameter? Certainly what you are trying to do should work!

    Regards,
    Allan
  • a.quackenbosa.quackenbos Posts: 4Questions: 0Answers: 0
    Hey, sorry, I completely forgot I made this post <.<;

    It turns out another developer had written a conflicting function that was overriding some of the properties -- of course committed without commenting on anything within it. Sorry for giving you an unsolvable question ^^ but thanks for the response.
  • allanallan Posts: 61,711Questions: 1Answers: 10,103 Site admin
    Hi,

    No problem - good to hear that it all worked out in the end :-)

    Allan
This discussion has been closed.