- Home
- DevShare
- Forums
- Wiki
- Products & Services
- Downloads
- Documentation
- Webinars
- Store
- Blog
|
|||
|
Hi,guys,
I want to change a column's width dynamically with BIRT API!But i don't know which API i can use.Model API or script API? I'm very thankful if you can show me some scriptnets. Thanks in advance! |
|
|||
|
Hi yangzy666,
Are you using the designer or just the BIRT engines? In the designer, there is no scripting on individual columns, but the width of the data elements can be set in script which would essentially change the width of the column using this.width = "2in" or whatever. This uses the DEAPI.
__________________
Regards, Michael |
|
|||
|
yes.i can use this.width="2in" to change the width of the data elements,but it's just the data element's text width(or the line surrounding it) has changed,not the line surrounding the cell,namely,if i can change the cell's width,then i'll implement my goal---change the width of the columns.
I give you an attachment,and maybe you can see the effect. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|