dynamic group by

Hello

I have question about dynami group by. I create simple aplication (like on example http://www.scriptcase.net/scriptcase-samples/tutoriais/grid/grid_dynamic_summary.php) with dynamic group by, but how I can set filter on this grid (ie. on date range), default it not show any filter.

Best If I can set filter on each column, but how I can do it?

Thx
Robert

I think you can create a static group by rule, as well as the dynamic.

And then onApplicationInit, call: sc_set_groupby_rule = “rule id”;

There are other macros that also allow you query / manipulate group by rules…

sc_get_groupby_rule (): This macro provides the name of the group by rule running at the time.
sc_hide_groupby_rule (‘group1’, ‘group2’, ‘group3’): Macro used to disable Group By rules.