Page 1 of 1

Dynamic grouping

Posted: Thu Jul 04, 2019 8:03 pm
by ga6riel
Hi,

How can I create a new Group Header Band and set a data column and a sort direction into it?

There is a javascript code to do it dynamically?

Thanks,

Gabriel Brunichaki

Re: Dynamic grouping

Posted: Thu Jul 04, 2019 8:52 pm
by Lech Kulikowski
Hello,

Please check the following sample:
https://www.stimulsoft.com/en/samples/j ... -from-code

Thank you.

Re: Dynamic grouping

Posted: Mon Jul 08, 2019 11:41 am
by ga6riel
Hello,

This will help me a lot! Thank you!

Just one more question: how can I delete a component?

Re: Dynamic grouping

Posted: Tue Jul 09, 2019 8:32 am
by Lech Kulikowski
Hello,

You can use the following code:
componentContainer.components.remove(necessaryComponent);

where componentContainer- it is a component on which placed removed component - page, header, band etc.

Thank you.