BIRT Exchange Forum: Tubal - Viewing Profile

Jump to content


 

No Latest Open Poll.

Tubal's Profile User Rating: -----

Reputation: 6 Neutral
Group:
Members
Active Posts:
194(0.34 per day)
Most Active In:
Designing BIRT Reports (193 posts)
Joined:
04-November 11
Profile Views:
6916
Last Active:
User is offline Yesterday, 02:47 PM
Currently:
Offline
Icon   Tubal has not set their status

Topics I've Started

  1. Scrollable table

    Posted 12 Apr 2013

    Hi all.

    I'm trying to create an HTML report with a scrollable table in a grid in another table.

    I'm trying to get the innermost table to be scrollable so it doesn't grow and mess up the rest of the report.

    I've seen kclark's devshare here but it doesn't seem to be working in 4.2 for some reason. The scroll bars appear, but the table just grows to show all of the records. The sample in the devshare also grows and does the same thing mine is doing. I don't think this is the intended result?

    Any ideas what I'm doing wrong?

    Thanks.
  2. Using External CSS File with hierarchies and unsupported style types

    Posted 19 Nov 2012

    Hi there.

    I'm trying to implement some javascript functionality inside of some html text elements. (Date Pickers to be specific)

    Most of them need to use css styles that are unsupported in BIRT, such as rounded corners, outlines, etc.

    Is is possible to use these unsupported styles?

    Also, related, some of the css files I use have hierarchical classes, and BIRT doesn't like that either. I assume this isn't supported?
  3. [Solved] How to keep script event from firing on hidden rows

    Posted 16 Aug 2012

    Hi there. I'm trying to do a line number in a table.

    I declare the lineNum variable in the onCreate of the table.

    I've tried putting a lineNum++ in the onCreate of each table row, and I've also tried inserting lineNum++ in a dynamic text element where I want to show the line.

    This appears to be working as expected, but the problem is that I have some rows in the table that are hidden based on if there is any data in the group. But it looks like the lineNum++ event is still firing even though the row is hidden, whether I put it in the onCreate of the row, or in a dynamic text element. I've also tried putting this in the onRender event with the same results.

    Any ideas or help?

    I don't know that it's relevant, but my table structure is as follows:

    Group1 Header
    Group2 Header
    Group3 Header
    Group4 Header
    Group5 Header
    Detail
    Group5 Footer
    Group4 Footer

    Thanks,

    Phil

    EDIT: Solved. I just put an if statement in my event script that used the same parameters as my visibility parameter. i.e. it only does the lineNum++ if it meets certain parameters. Seems to have done the trick.

    Thanks.
  4. Padding in conditional style ignored

    Posted 2 Jul 2012

    I'm trying to apply a conditional style using the highlight option on a data element.

    Everything appears to work normally except when I try to modify the left padding.

    I create a new style that only affects the left padding. If I apply this style in the regular layout, it works as it should. If I apply this style in the highlight, it ignores the left padding.

    If I modify this style to change the font or the top padding, it works in both the regular layout, and the highlight. It's only the left padding that is being ignored, and only if it's being done in a highlight.

    Anyone run into this or have a solution?

    Thanks,

    Phil
  5. Add whitespace to beginning of data element

    Posted 2 Jul 2012

    Hi.

    I'm trying to indent a data element based on the length of the data, but BIRT is trimming the whitespace before it renders. If I add something to the beginning, it works fine. But if it's just whitespace, it doesn't work. Is it possible to do this?

    Here is my code:

    var label = '';
    for(i = 0; i < row["step_path"].length; i++) {
            label += ' ';
    }
    label += row["step_path"];
    label;
    


    I saw this post trying to do the same thing:

    http://www.birt-exch...157353d1999eecb

    but the solution doesn't seem to be working. I'm using 3.7.2.

    Thanks.

My Information

Member Title:
Senior Member
Age:
Age Unknown
Birthday:
Birthday Unknown

Contact Information

E-mail:
Private

Comments

Page 1 of 1
  1. Photo

    nithinurs Icon

    19 Nov 2012 - 23:06
    hi tubal, can u help me in this post.
    http://www.birt-exchange.org/org/forum/index.php/topic/28160-grouping-tables-in-birt-report/
Page 1 of 1