Extend Search Function
Extend Search Function
uderbentoglu
Posts: 2Questions: 0Answers: 0
I am using datatables in my asp.net mvc application. I need to make some changes in _fnFilterCreateSearch function. But I don't want to change original function, because if it neeeds to update the library, it required to make same changes again. How can I extend this function without changing original function?
Thanks in advance.
Thanks in advance.
This discussion has been closed.
Replies
What I would suggest is you create a custom feature plug-in which just calls fnFilter (which is basically all `_fnFilterCreateSearch` does after it has made the input box).
See: http://datatables.net/blog/Creating_feature_plug-ins
Allan