Changing the structure of a table dynamically

Stimulsoft Reports.WEB discussion
Post Reply
andreubatuba
Posts: 3
Joined: Tue Aug 31, 2021 11:31 am

Changing the structure of a table dynamically

Post by andreubatuba »

Hi, I would like to manipulate a table dynamically. Like, for example, adding or removing rows, hiding columns, etc.
I tried using the code below in the report's Redenring event:

Table1.InsertColumnToLeft(0);
Table1_Cell1.TextValue = "Test";

However, nothing happened when previewing.
What could I be doing wrong?
Thanks.
Lech Kulikowski
Posts: 6237
Joined: Tue Mar 20, 2018 5:34 am

Re: Changing the structure of a table dynamically

Post by Lech Kulikowski »

Hello,

Please check the following sample:
https://www.stimulsoft.com/en/samples/r ... at-runtime

Thank you.
Post Reply