# Filter fcurves using script

I have an object with more than 100 fcurves. In my addon, the user has an option to filter these fcurves, and show only those that their max value is above a certain threshold. I'm using fcurve.hide and fcurve.select for this. The problem, is that indeed it filter the graph, but not the fcurves list, as can be seen in this screenshot: How can I filter those fcurves also from the list, something like the DopSheet.filter_fcurve_name option (the filter box underneath the graph)?

group = bpy.data.actions['CubeAction'].groups.new("hidden")