Cgridview Filter If Count More Than 10

How can i set the filter of cgridview to show if returned records are more than 10?

and only show header if there are results

ok,showTableOnEmpty,but what about the filter question

Try to subclass CGridView class and find

some method to resolve your issue.