Group "1" always on top

Group "1" always on top

pawelekgnopawelekgno Posts: 7Questions: 0Answers: 0
edited September 2010 in General
Hi.
I'm making a speedway statistics. When rider will ride some heats (after week one it's three), he get's "1" in column "classified". When he ride two or less - he got "0".
You can watch this here - http://pawelek.gniezno.pl/nastoliga/
I need to set group "classified" (Skl.) with value "1" always on top, like this: http://pawelek.gniezno.pl/priv/datatables.jpg It must be frozen and unchangeable.
Is there any function which allow me to do that?

Thanks for every help!

Sorry for my poor english :P

Replies

  • pawelekgnopawelekgno Posts: 7Questions: 0Answers: 0
    Can't anybody help me? :(
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    http://datatables.net/usage/options#aaSortingFixed will let you force sorting to always occur on a specific column (and in a specific direction), before any user sorting is applied.

    Allan
  • pawelekgnopawelekgno Posts: 7Questions: 0Answers: 0
    **, that's so easy ;/

    Thank you master, everything works now!
This discussion has been closed.