Need for global filtering as well as externally triggered filter

Need for global filtering as well as externally triggered filter

kshtjsnghlkshtjsnghl Posts: 8Questions: 0Answers: 0
edited February 2012 in General
In the use cases I am trying to serve, each row in my table belongs to a class either of 'A' and 'B'. In addition to the global input filtering that we already have in the default datatable settings, I need to show only rows belonging to class 'A' by default.
But user has a choice to exercise, where he can say - show me the 'B' type of rows as well.

Although, I am getting the sense that my work for this would be relating to push a custom filtering method like here - http://datatables.net/development/filtering#global_filters to have the logic for showing the rows on the basis of class and calling fnDraw whenever user exercises his option of displayable rows.
Can you please confirm, if these steps would help me achieve what I need or if there is something else that I would need to do.
This discussion has been closed.