Footer Styling and / or Sorting

Footer Styling and / or Sorting

izzy6150izzy6150 Posts: 49Questions: 0Answers: 0
edited November 2009 in General
Hi,

I am just wondering if it is possible to do the following:

1) Add JQueryUI Styles to the footer (if one exists)
2) Add the same header sorting ability as in the header to the footer

Regards,
Izzy

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi Izzy,

    1. All you need to do is add the class 'ui-state-default' to your footer cell elements. A simple jQuery selector and addClass() should do the trick. This isn't done by default to allow it to remain flexible.

    2. Yes, you can add a click event handler to the footer cell, and have it call fnSort() as appropriate (i.e. with the required column index).

    Regards,
    Allan
This discussion has been closed.