I want to use columnFilter or LightColumnFilter with angular-datatables but I get the following error b.dataTable.columnFilter is not a function
I know that in the website example https://l-lin.github.io/angular-datatables/#/withColumnFilter it shows that you need to add these scripts
<script src="vendor/datatables-columnfilter/js/dataTables.columnFilter.js"></script>
<script src="vendor/angular-datatables/dist/plugins/columnfilter/angular-datatables.columnfilter.min.js"></script>
But since these example was made a while ago I believe that the first script dataTables.columnFilter.js it's no longer available in the later jquery datatables versions
I'm using jquery Datatables 1.10.12 and
angular-datatables 0.5.5 and angularJs 1.5.7
this is how I'm creating my table
vm.dtOptionsEstatus = DTOptionsBuilder.fromSource('data')
.withPaginationType('full_numbers')
.withOption('createdRow', createdRow)
.withOption('stateSave', true)
.withColumnFilter({
'0': {
type: 'text'
},
'1': {
type: 'text'
},
'2': {
type: 'text'
},
'3': {
type: 'text'
},
'4': {
type: 'text'
}
})
// Add Bootstrap compatibility
.withBootstrap()
// Active Responsive plugin
// .withOption('responsive', true)
.withScroller()
// .withOption('scrollY', 100)
.withOption('scrollX', 200)
// .withOption('bFilter', false)
;