javascript - Customizing the jquery.datatables plugin to filter with a regex on two columns -
i using jquery datatables plugin found here . there 2 columns named "new gl" , "old gl". datatables plugin has built in feature called search filters data in table based on keyword enter textbox. here data looks like: when type "40.88.1010.0" or "40.88.600000.05" textbox want record appear. the same rule applies of records. want search continue filter of columns using 1 single textbox columns "new gl" , "old gl"...i want user able use both "-" , "." characters. my initial thought if datatables had regex option work because "." in regex character. want rule apply 2 columns. is possible using datatables plugin? here current datatable initialization code: $(document).ready(function () { var table = $('#datatable').datatable({ "idisplaylength": 50 }); }); solution you need implement custom search function shown below. the drawback of method con...