Another sSearch_n question ...

Another sSearch_n question ...

TheGigglerTheGiggler Posts: 6Questions: 0Answers: 0
edited April 2013 in DataTables 1.9
Hi!

I'm having an issue where the search values from two different columns are being sent in the same sSearch_n parameter.

This had been working so I've undoubtedly broken it with recent changes.

I've gone through my table html and initialization code and can't find the culprit.

If you could peruse my set up at http://jsfiddle.net/mctocci/AtnVL/4/ and offer any suggestions as to what I could look at I'd appreciate it.

The columns Resource.Group.Name and Resource.ResourceString are both sent to fnFilter as iColumn=3.

Thanks!

Replies

  • allanallan Posts: 63,389Questions: 1Answers: 10,449 Site admin
    > $("tfoot input").index(this)

    That's the stand out part for me - in combination with the hidden column. I'd suggest using this plug-in to help mitigate the visible column index issue: http://datatables.net/plug-ins/api#fnVisibleToColumnIndex .

    DataTables 1.10's new API is going to really help with this kind of thing I think... :-)

    Allan
This discussion has been closed.