Page 1 of 2
Dynamic Group in StiGroupHeaderBand
Posted: Tue Jan 29, 2008 1:35 pm
by alejandro
Hi, how i can pass a dynamic group to a StiGroupHeaderBand.Condition via application from a variable's dictionary??
Thanks..
Alejandro.
Dynamic Group in StiGroupHeaderBand
Posted: Tue Jan 29, 2008 4:00 pm
by Vital
You want use variable as group condition?
Thank you.
Dynamic Group in StiGroupHeaderBand
Posted: Wed Jan 30, 2008 6:10 am
by alejandro
yes.
Dynamic Group in StiGroupHeaderBand
Posted: Wed Jan 30, 2008 8:59 am
by Vital
You can use following expression in group condition:
Thank you.
Dynamic Group in StiGroupHeaderBand
Posted: Wed Jan 30, 2008 10:02 am
by alejandro
Better question.... How I can change dynamically the Data Column of the GroupHeader using a variable?
Thanks
Dynamic Group in StiGroupHeaderBand
Posted: Wed Jan 30, 2008 11:17 am
by Vital
Dynamic Group in StiGroupHeaderBand
Posted: Wed Jan 30, 2008 12:02 pm
by alejandro
ok, work fine.
but if i want to group using two coluns.?
Dynamic Group in StiGroupHeaderBand
Posted: Wed Jan 30, 2008 4:40 pm
by Vital
For example:
Code: Select all
{MyDataSource[myvariable]}.{MyDataSource2[myvariable2]}
Thank you.
Dynamic Group in StiGroupHeaderBand
Posted: Thu Jan 31, 2008 5:12 am
by alejandro
Ok, thanks..
But if i want to create dynamic group like this...
in the report's event BeginRenderEvent put the following code:
GroupHeader1.Condition.Value = "{RecursosProdMO[col1]}.{RecursosProdMO[col2]}"; //here can create dynamic groups in the report
this line din't work.
Thanks
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