bVisible: false. sSearch index

bVisible: false. sSearch index

maciusplmaciuspl Posts: 7Questions: 0Answers: 0

Hi

Your datatables works in following way, if you hide column with bVisible: false, next columns will get bad indexes like there was not hidden column in request. How do you handle this scenario ?

Replies

  • maciusplmaciuspl Posts: 7Questions: 0Answers: 0

    Alan,

    It was problem of columnFilter. I defined a columnfilter table with columns definition, but I didnt take in consideration hidden columns. But there was still problem which I fixed in one of plugin: columnFilter.js Version: 1.5.6. Line 829 I think should be

    var index = _fnColumnIndex(aiCustomSearch_Indexes[j]);

This discussion has been closed.