Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » setting grid position in script
setting grid position in script [message #1164545] Thu, 31 October 2013 19:15 Go to next message
Gibran Shah is currently offline Gibran ShahFriend
Messages: 33
Registered: September 2013
Member
Hello,

I'm trying to manually create a grid in the beforeFactory script. I want to set it's position. I have a GridHandle object (given to me by reportContext.getDesignHandle().getElementFactory().newGridItem(...)). I tried the following:

newGrid.setVerticalPosition("100px");
newGrid.setHorizontalPosition("100px");

They didn't work.

How does one set the position of an object like a grid?

I'm working in Actuate BIRT Designer Pro (v3.7.2).

Thanks
Re: setting grid position in script [message #1197159 is a reply to message #1164545] Tue, 19 November 2013 19:45 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

If using an HTML output, you could use client-side script to give an element an absolute position, otherwise, you'll need to use grids to get an element to the desired position.

Michael

Developer Evangelist, Silanis
Previous Topic:borders not set right on grid cell
Next Topic:dynamically adding new columns to scripted grid from elementFactory
Goto Forum:
  


Current Time: Tue Mar 19 07:29:40 GMT 2024

Powered by FUDForum. Page generated in 0.01776 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top