ColReorder with individual column filtering - for server-side processing

ColReorder with individual column filtering - for server-side processing

ixqfeakcixqfeakc Posts: 10Questions: 0Answers: 0
edited July 2013 in Plug-ins
Hello,

For the ColReorder example with individual column filtering (http://datatables.net/release-datatables/extras/ColReorder/col_filter.html), is there any additional thing do I need to modify to get it work with server-side processing? I have noticed that Allan had mentioned defining the sName parameter in aoColumns/Defs, but I am not sure how it will work with other scripts.

Any help will be appreciated. Thank you!

Replies

  • ixqfeakcixqfeakc Posts: 10Questions: 0Answers: 0
    edited July 2013
    EDIT:
    Oh well, found that this one still do not work with ColReorder :(
    -----------------

    Worked!

    For PHP part, modified the filter variable from $aColumns[$i] to $_GET['mDataProp_'.$i]

    As to html js part, for those who has the same problem, I highly suggest look into this page
    (http://datatables.net/forums/discussion/7229/colvis-plus-columns-hidden-by-default-plus-column-filtering/p1)

    For some reason the official example do not work for me, and this one saved my life :)
  • ixqfeakcixqfeakc Posts: 10Questions: 0Answers: 0
    Found the solution!

    I had a fixed column that is not searchable, so I did not add the corresponding search field for it. After adding one as hidden field. Everything from the official example work!
This discussion has been closed.