Column width

Column width

werderfanwerderfan Posts: 2Questions: 0Answers: 0
edited February 2011 in General
Hi there,

I've got two simple newbie questions:
a) how to prevent a single column from sorting (didn't find this feature...)?
b) when using x-scolling the header columns start "moving away" from the body columns. At the end some columns no longer have the same x-position. If not using x-scrolling, everything is fine...

Thank you in advance!

Bye,

Jens.

Replies

  • werderfanwerderfan Posts: 2Questions: 0Answers: 0
    Dear community,

    maybe someone can help me - I hope the questions are not too studip...?

    Bye,

    Jens.
  • tehgreedotehgreedo Posts: 7Questions: 0Answers: 0
    edited February 2011
    I actually just found the answer to the first one when I was looking for something else...
    [code]
    $('#table').dataTable( {
    "aoColumns": [
    { "bSortable": true },
    { "bSortable": false },
    { },
    { },
    ],
    } );
    [/code]
    Hope that helps!
This discussion has been closed.