ColumnControl - search with different order and search type
ColumnControl - search with different order and search type
Link to test case: https://live.datatables.net/gezadipu/12/
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
Is there any way to serach priority col as text not number and also order as number?
I found columnDefs like this, but i want to target search in menu, which still act as number
columnControl: {
target: 1,
content: ['searchText']
}
This question has an accepted answers - jump to answer
Answers
https://live.datatables.net/gezadipu/13/edit
You'd just missed the
columnControlproperty in thecolumnDefsobject.Good point this - I'll see if I can improve the default handling for that.
Allan
@Allan I think I might have found a bug.
https://live.datatables.net/gezadipu/15/
Try searching using "Contains" and type "normá".
The Task column works correctly, but in Priority it returns no results. Or am I missing something?
Looks like there be a normalisation error when working with the data attributes. I'll take a look into it.
Allan