Header click event when column.orderable = false

Header click event when column.orderable = false

mdellanave83mdellanave83 Posts: 33Questions: 3Answers: 0
edited March 6 in Free community support

Hi,
I found a strange behavior on table header cells that have orderable option set to false: the user click on them provoke a call to the ajax function.

The problem doesn't happens using the old fnServerData in dataTables releases < 2.

I tried to reproduce it in a sandbox without success.

Any idea?

I managed a workaround in my project, using the style pointer-events: none on dt-orderable-none class.

Replies

  • allanallan Posts: 63,414Questions: 1Answers: 10,454 Site admin

    I think you are encountering this error which was fixed here and will be included in the soon to be released DataTables 2.0.2.

    Allan

  • mdellanave83mdellanave83 Posts: 33Questions: 3Answers: 0

    ok! as usal thank you @allan!

    by the way, my fix using pointer-events provoke breaks the colReorder plugin

Sign In or Register to comment.