vpllan/jQuery.dataTables.oData — pull request #6 by AlexKey (2014-04-24 11:25:32+00:00)
Title: added support for the jquery.dataTables.columnFilter plugin

I've added some basic support for filtering via the jquery.dataTables.columnFilter plugin as discussed in issue: https://github.com/vpllan/jQuery.dataTables.oData/issues/5

I looked at parsing out all the settings in "sSearch_X" etc and grabbing the column names, types etc. However it's fortunate that the X in "sSearch_X" matches the index in oSettings.aoColumns, so I could use the existing sFieldName.

I was considering checking for number types in jquery.dataTables.columnFilter, but figured it best that they are explicitly excluded to stop columFilter during text boxes for columns that are unfilterable.

I could probably improve this by adding support for range filtering via the columnFilter and generating the appropriate oData request, but this is a good start.

It seems to work nicely so far and after trying a few options it didn't take too much code in the end, what do you think?