Page 2 of 2
Dynamic Group in StiGroupHeaderBand
Posted: Fri Feb 01, 2008 4:17 am
by alejandro
Is possible to create a dynamic group?
this line din't work.
//line int BeginRenderEvent event of the report
GroupHeader1.Condition.Value = "{RecursosProdMO[col1]}.{RecursosProdMO[col2]}"; //here can create dynamic groups in the report
Dynamic Group in StiGroupHeaderBand
Posted: Fri Feb 01, 2008 5:24 am
by Vital
No. Your code is not correct. When you call report rendering report is already compiled. So your expression can't be compiled and it don't work.
Thank you.
Dynamic Group in StiGroupHeaderBand
Posted: Fri Feb 01, 2008 10:42 am
by alejandro
Where I can put the code (if is possible)?
Thanks in advanced...
Dynamic Group in StiGroupHeaderBand
Posted: Tue Feb 05, 2008 3:03 am
by Edward
If you want to change the group Condition dynamically, then please write the method which you can call dynamically from the group expression.
Please see the flash tutorial on the process of creating of the own function:
http://www.stimulsoft.com/livedemos/Rep ... ction.html
Also 'Code Tab' could be used as a place for writing of the method which is required for calculating of the result for the group.
Thank you.