Columns.render function: filtering by individual column filters.

Columns.render function: filtering by individual column filters.

tangerinetangerine Posts: 3,350Questions: 37Answers: 394

When applying this condition in a columns render function

if (type === 'display' || type === 'filter' ) {

it seems that the filtering only applies when using the global input filter.

Is there any way of filtering the rendered data when using individual column text inputs filtering?
TIA

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,300Questions: 26Answers: 4,769
    Answer ✓

    It seems to work here:
    http://live.datatables.net/giharaka/572/edit

    I replaced spaces with - in the Location column. Just type - in the column filter. Please provide a non-working example.

    Kevin

  • tangerinetangerine Posts: 3,350Questions: 37Answers: 394

    Hmmm. Thank you Kevin. I must have a mistake somewhere. Now I know this should work, I should be able to to fix it.
    Thanks again.

  • tangerinetangerine Posts: 3,350Questions: 37Answers: 394

    Go it. Thank you, Kevin, you are a legend.

  • kthorngrenkthorngren Posts: 20,300Questions: 26Answers: 4,769

    Glad to be of help :smile:

    Kevin

This discussion has been closed.