I found a need to be able to filter cDbCJGrids on any column in the grid. After a coding couple, I got tired of writing the mechanism each time, so I made a class (Doh! ).
It is simple to use: just Use the package (cDbCjGridFilter.pkg), change the class of your grid from cDbCJGrid to cCbCjGridFilter, add one line to the DD Server for the class in its OnConstrain procedure: "Constrain file as (MeetsFilter(gridObjectName(Self)))" and you are done.
Don't know if anybody will find it useful, but I've put it up on GitHub/DataFlexCode: https://github.com/DataFlexCode/cDbCjGridFilter.
It doesn't model especially nicely in the Studio designer (I don't know how to fix that ), but in use it looks like:
What doc there is (or needs to be, IMO) is in the ReadMe.md and also at the top of the .pkg file.
Mike