Hi,
Am using datatables in my application. Paging and sorting is done using this. I have a search filter. How it should work is, if a user searches “Math Benchmark 1”, then the result display matching the complete name first, then “Math Benchmark”, then “Math”, and finally any words from the assessment. The default sort order is the one most matching the criteria first. How could I do this using datatable? I tried using $.fn.dataTableExt.afnFiltering, but am not getting proper result.
I appreciate your help in this
Am using datatables in my application. Paging and sorting is done using this. I have a search filter. How it should work is, if a user searches “Math Benchmark 1”, then the result display matching the complete name first, then “Math Benchmark”, then “Math”, and finally any words from the assessment. The default sort order is the one most matching the criteria first. How could I do this using datatable? I tried using $.fn.dataTableExt.afnFiltering, but am not getting proper result.
I appreciate your help in this