New to DataTables, probably stupid questions about styling and columns to sort

New to DataTables, probably stupid questions about styling and columns to sort

Dan3460Dan3460 Posts: 3Questions: 2Answers: 0

I stumble upon Datatables and it worked right off the bat, impressive. I confess that i have not read the manual and maybe the answer is there, so sorry:
1- Can i only select just a few columns to sort?
2- In my original table i had the clicked row highlighted, DataTables seems to overwrite my high light. I need to signal the user wich column has been clicked. The highlight was done via JQuery addClass function.

Thanks for the help

Replies

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin

    1- Can i only select just a few columns to sort?

    Yes. columns.orderable. The full, and searchable, list of options is available here.

    2- In my original table i had the clicked row highlighted

    I'd need a link to a page showing the issue to understand what is going wrong there. Might be a CSS conflict. Another option is to use the Select extension.

    Allan

This discussion has been closed.