Adjusting table width in report

Hi
Is there an attribute which I can set to adjust the width of my tables or one of its columns? I have generated a report using IPMSG_USER_TABLE_FROM_SQL element. The plugin guide has no reference on this, but I noticed couple of reports under Reports main tab have custom column width. Currenly width of the table is governed by the width of the each individual column headers.
Also is there a way using which I can browse the available oracle namespace which list all these elements/classes and their respective attributes.
Regards
Sanjay

Hi Craig,
As per your instructions I attempted replacing the variable part (target name) of my URL with the values from the database. But none of my trails succeeded.
Please have a look at below code and point the possible correction needed.
DECLARE
-- Declared a variable to hold target name
l_target_name VARCHAR2(256);
BEGIN
-- Display a link back to Load Balancing Status Report
l_param_values := MGMT_IP_PARAM_VALUE_LIST();
l_param_values.extend(3);
l_param_values(1) := MGMT_IP_PARAM_VALUE_RECORD(
'oracle.sysman.eml.ip.render.elem.TextParamBean.textMessage',
'Return to Load Balancing Status Report');
l_param_values(2) := MGMT_IP_PARAM_VALUE_RECORD(
'oracle.sysman.eml.ip.render.elem.TextParamBean.textStyleClass',
'OraTipText');
-- Below parameter has no effect here even if enabled, my report takes 3 parameters of which 3rd parameter is target guid which Iam using here
-- l_param_values(3) := MGMT_IP_PARAM_VALUE_RECORD(
-- 'oracle.sysman.eml.ip.render.elem.sqlStatement',
-- 'SELECT TARGET_NAME INTO l_target_name FROM MGMT$TARGET WHERE TARGET_TYPE=''plugin_adx'' AND      TARGET_GUID=??EMIP_BIND_PARAM3??');
-- If I use like this I am getting java.sql.SQLException: ORA-01403: no data found ORA-06512: at line 911
SELECT TARGET_NAME INTO l_target_name FROM MGMT$TARGET WHERE TARGET_TYPE=''plugin_adx'' AND TARGET_GUID=??EMIP_BIND_PARAM3??
l_param_values(3) := MGMT_IP_PARAM_VALUE_RECORD(
'oracle.sysman.eml.ip.render.elem.TextParamBean.textDestination',
'/em/console/target/homepage/reports?action=generate&type=plugin_adx&title=Load+Balancing&owner=SYSMAN&target=' || l_target_name || '&ctxType=All+Targets');
l_curr_order := l_curr_order + 1;
l_curr_row := l_curr_row + 1;
l_element_guid := mgmt_ip.add_element_to_report_def (
p_report_guid => l_report_guid,
p_element_name_nlsid => 'IPMSG_STYLED_TEXT',
p_element_type_nlsid => 'IPMSG_ANY_TARGET_TYPE',
p_header_nlslid => null,
p_element_order => l_curr_order,
p_element_row => l_curr_row,
p_parameters => l_param_values,
p_targets => null
In each of above trails my URL has a missing target, as a result back navigation is not succeeding.
https://pune4.domain.com:1159/em/console/target/homepage/reports?action=generate&type=plugin_adx&title=Load+Balancing&owner=SYSMAN&target=&ctxType=All+Targets
Regards
Sanjay

Similar Messages

  • Text adjusting table width

    I have a table that I want to remain at a fixed width (I do
    not have it set to %), and I have 2 colums, the leftmost column
    being a sidebar, and a larger column to the right of that one for
    mainbody text. When I add the mainbody text, it changes the size of
    the sidebar column, does not wordwrap inside the cell, and will
    extend the width of the entire table if do not use hard returns to
    create a new line. Is there a way to get the text to wordwrap
    inside the cell, and keep it from adjusting the width of any
    portion of the table?

    > Is there a way to get the text to wordwrap inside the
    > cell, and keep it from adjusting the width of any
    portion of the table?
    Are you entering a long string of unbroken text (i.e., no
    spaces)? If so,
    then no, there's no way to prevent HTML tables from expanding
    to contain
    your content.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "farscape2" <[email protected]> wrote in
    message
    news:ef99t2$oqi$[email protected]..
    >I have a table that I want to remain at a fixed width (I
    do not have it set
    >to
    > %), and I have 2 colums, the leftmost column being a
    sidebar, and a larger
    > column to the right of that one for mainbody text. When
    I add the mainbody
    > text, it changes the size of the sidebar column, does
    not wordwrap inside
    > the
    > cell, and will extend the width of the entire table if
    do not use hard
    > returns
    > to create a new line. Is there a way to get the text to
    wordwrap inside
    > the
    > cell, and keep it from adjusting the width of any
    portion of the table?
    >

  • Suddenly cannot adjust table width via sizing handles

    I have found the cause of this, and it is rather bizarre:
    Using Structured FM, 10.0.2.419, on a Windows 7 Ultimate (32-bit) OS.
    Today I noticed I cannot resize table columns in the usual way, by selecting more than one row in the column and dragging the sizing handles that appear at the edge of the column.  The sizing handles appear there when rows are selected, but I cannot "grab" them.  Instead, when I try to click on a handle, the row selection is lost.  The table has no straddled columns or rows, no hidden/conditional text.  I have tried on several different types of tables all with the same non-result.  The document is otherwise editable.
    I am forced to use the Resize Column dialog box, which is not so fast or easy as just grabbing the column edge and visually adjusting it.
    I have rebooted my machine with no change in the problem.
    ====================
    Resolution:
    The problem appears to occur when I have various panels/pods open (and set to stay open, not iconify after use).  In this case I was working with conditional text, deleting some no-longer-used conditions from my documents.  I had three conditional text panels open in my workspace, ADD/EDIT CONDITION TAG, SHOW/HIDE CONDITIONAL TEXT, and CONDITIONAL TEXT.  The last two were "merged" into a single panel, and all panels were set permanently open using the double right-arrows in the panel dark frame at the top.
    It turns out when I collapse some or all of these open panels, I can select the table resize handles and adjust the column widths visually.  When I have all three pod panels expanded, the resize handles are ungrabbable.
    Forgive me if I'm not using "pod" and "panel" precisely accurately - I just use them (or more often try to work around them) rather than worrying about the names Adobe has chosen.  By giving users SO much flexibility, I personally think they have made an awful usability mess of the product.
    In any case, the problem seems to be solved, and I am posting this in case it can be helpful to anyone else.
    Thanks.
    -- garyZ

    This sounds like a bug. Please post a formal bug report here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform The engineers can't fix it if they don't hear about it.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices    

  • Controlling Column Width in Report Region

    I have a report region based on a simple select statement. I'd like the table to be the full width of the region and I'd like the columns to be spaced evenly so that they are also the full width of the region. I have figured out how to set the table width via Report Attributes Substitution, but I am unable to set the column width. Any help would be greatly appreciated.
    Mark

    Hi take a look into this post:
    Translated in English:
    http://translate.google.de/translate?sl=de&tl=en&js=n&prev=_t&hl=de&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fwww.apex-at-work.com%2F2010%2F08%2Fsilbentrennung-hyphenation-in-apex-ger.html
    Code must be extracted from Original post:
    http://www.apex-at-work.com/2010/08/silbentrennung-hyphenation-in-apex-ger.html
    This could be also interesting for your:
    http://www.apex-at-work.com/2010/03/automatic-linebreak-if-word-breaks-out.html
    Tobias
    http://apex-at-work.com

  • Adjust the width of a column in a report.

    Hi,
    How can we adjust the width of a column in a report.
    We have a report with around 10 columns.
    out of the 10 columns 1 column has a width of 500 char..
    we want to display only the first 150 chars of that column with 50 char on first line,next 50 on second line and last 50 on third line.
    i have tried using the the substr and <br> in the region source but it takes 3 lines by default even if it is not of 150 chars .I want to display it in 3 columns if it of 100+ chars.
    Thanks in advance.

    Hi,
    Using the col tag is the more proper way of fixing the width of a column.
    If you don't want to use the col tag, you should change your expression to:
    &lt;table style="width:500px"&gt;
    Firstly, you should use the unit of length (ie, "px") for any non-zero value and secondly because we are being encouraged to use the style attribute whenever possible as, as I understand it, this will become the standard.
    Regards
    Andy

  • VC Multiple Table Column Header Lines, Table Width Adjustment

    Hi Experts,
    1) How to have Multiple headers for a column in a single cell i.e multiple lines in the same cell. please provide with example.
    2) How to set your table to adjust the width automatically for all screen resolution since columns of the table disappear and some of the content of the header is not visible if the screen resolution is low.
    3) Is there any way to set the screen resolution for our report alone to very high resolution even if the end user has set the system resolution to low. The reports were developed on a high resolution and now we face the problem as citrix is rolled out and it is standard 1024 * 768 resolution.
    Thanks and Regards,
    Siva

    Wrapping the text of a table column caption into lines is currently not possible. Workarounds could be:
    - using a single character text and a tooltip for the description
    - using an image containing the wrapped text
    Both workarounds have their problems.
    Armin

  • Custom report - Can't customize font / table width etc

    So i'm authoring my first report - that works fine; however I can't seem to figure out how to customize the font / table width etc. I'm creating an RDL file from Report Server Project Wizard in Visual Studio and in there i'm changing font sizes and table
    widths and I can see its changing in the RDL file's XML. I then plug the RDL file into my managment pack and import it. I run the report and the results always have this huge font and the table widths don't change. Anyone have any idea what i'm missing or
    why that would be happening? heres the RDL file for reference:
    <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
    <Body>
    <ReportItems>
    <Textbox Name="textbox1">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Report1</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>12pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>SteelBlue</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox1</rd:DefaultName>
    <Height>0.36in</Height>
    <Width>5in</Width>
    <Style>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    <Tablix Name="table1">
    <TablixBody>
    <TablixColumns>
    <TablixColumn>
    <Width>1in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>2.75in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>3.58333in</Width>
    </TablixColumn>
    </TablixColumns>
    <TablixRows>
    <TablixRow>
    <Height>0.22in</Height>
    <TablixCells>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox2">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Raised Date Time</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>6pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox2</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>SteelBlue</BackgroundColor>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox3">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Alert Name</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>6pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox3</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>SteelBlue</BackgroundColor>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox4">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Alert Description</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>6pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox4</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>SteelBlue</BackgroundColor>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    </TablixCells>
    </TablixRow>
    <TablixRow>
    <Height>0.21in</Height>
    <TablixCells>
    <TablixCell>
    <CellContents>
    <Textbox Name="RaisedDateTime">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!RaisedDateTime.Value</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>5pt</FontSize>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>RaisedDateTime</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="AlertName">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!AlertName.Value</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>5pt</FontSize>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>AlertName</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="AlertDescription">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!AlertDescription.Value</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>5pt</FontSize>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>AlertDescription</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    </TablixCells>
    </TablixRow>
    </TablixRows>
    </TablixBody>
    <TablixColumnHierarchy>
    <TablixMembers>
    <TablixMember />
    <TablixMember />
    <TablixMember />
    </TablixMembers>
    </TablixColumnHierarchy>
    <TablixRowHierarchy>
    <TablixMembers>
    <TablixMember>
    <KeepWithGroup>After</KeepWithGroup>
    <RepeatOnNewPage>true</RepeatOnNewPage>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    <Group Name="table1_Details_Group">
    <DataElementName>Detail</DataElementName>
    </Group>
    <TablixMembers>
    <TablixMember />
    </TablixMembers>
    <DataElementName>Detail_Collection</DataElementName>
    <DataElementOutput>Output</DataElementOutput>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    </TablixMembers>
    </TablixRowHierarchy>
    <DataSetName>DataSet1</DataSetName>
    <Top>0.36in</Top>
    <Height>0.43in</Height>
    <Width>7.33333in</Width>
    <ZIndex>1</ZIndex>
    <Style />
    </Tablix>
    </ReportItems>
    <Height>0.79in</Height>
    <Style />
    </Body>
    <Width>8.1875in</Width>
    <Page>
    <LeftMargin>1in</LeftMargin>
    <RightMargin>1in</RightMargin>
    <TopMargin>1in</TopMargin>
    <BottomMargin>1in</BottomMargin>
    <Style />
    </Page>
    <AutoRefresh>0</AutoRefresh>
    <DataSources>
    <DataSources>
    <DataSource Name="DataWarehouseMain">
    <DataSourceReference>Data Warehouse Main</DataSourceReference>
    <rd:DataSourceID>e4235c51-407f-4065-8519-a1e57374bc45</rd:DataSourceID>
    </DataSource>
    </DataSources>
    </DataSources>
    <DataSets>
    <DataSet Name="DataSet1">
    <Query>
    <DataSourceName>DataWarehouseMain</DataSourceName>
    <QueryParameters>
    <QueryParameter Name="@AlertName">
    <Value>=Parameters!AlertName.Value</Value>
    </QueryParameter>
    <QueryParameter Name="@StartDate">
    <Value>=Parameters!StartDate.Value</Value>
    </QueryParameter>
    <QueryParameter Name="@EndDate">
    <Value>=Parameters!EndDate.Value</Value>
    </QueryParameter>
    <QueryParameter Name="@ObjectName">
    <Value>=Parameters!ObjectName.Value</Value>
    <rd:UserDefined>true</rd:UserDefined>
    </QueryParameter>
    </QueryParameters>
    <CommandText>SELECT dbo.vManagedEntity.FullName,
    dbo.vManagedEntity.TopLevelHostManagedEntityRowId,
    dbo.vManagedEntity.ManagedEntityRowId,
    Alert.vAlert.ManagedEntityRowId,
    Alert.vAlert.AlertName,
    Alert.vAlert.AlertDescription,
    Alert.vAlert.RaisedDateTime
    FROM dbo.vManagedEntity
    INNER JOIN Alert.vAlert
    ON dbo.vManagedEntity.ManagedEntityRowId = Alert.vAlert.ManagedEntityRowId
    WHERE dbo.vManagedEntity.FullName LIKE '%' + @ObjectName + '%'
    AND Alert.vAlert.AlertName LIKE '%' + @AlertName + '%'
    AND Alert.vAlert.RaisedDateTime &gt;= @StartDate
    AND Alert.vAlert.RaisedDateTime &lt;= @EndDate
    ORDER BY Alert.vAlert.RaisedDateTime DESC</CommandText>
    <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
    </Query>
    <Fields>
    <Field Name="AlertName">
    <DataField>AlertName</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="AlertDescription">
    <DataField>AlertDescription</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="RaisedDateTime">
    <DataField>RaisedDateTime</DataField>
    <rd:TypeName>System.DateTime</rd:TypeName>
    </Field>
    <Field Name="ObjectName">
    <DataField>ObjectName</DataField>
    <rd:UserDefined>true</rd:UserDefined>
    </Field>
    </Fields>
    </DataSet>
    </DataSets>
    <ReportParameters>
    <ReportParameter Name="AlertName">
    <DataType>String</DataType>
    <Prompt>Alert Name</Prompt>
    </ReportParameter>
    <ReportParameter Name="StartDate">
    <DataType>DateTime</DataType>
    <Prompt>Start Date</Prompt>
    </ReportParameter>
    <ReportParameter Name="EndDate">
    <DataType>DateTime</DataType>
    <Prompt>End Date</Prompt>
    </ReportParameter>
    <ReportParameter Name="ObjectName">
    <DataType>String</DataType>
    <Prompt>Object Name</Prompt>
    </ReportParameter>
    </ReportParameters>
    <Language>en-US</Language>
    <ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
    <rd:ReportUnitType>Inch</rd:ReportUnitType>
    <rd:ReportID>4250ddf1-3c87-47b1-b8c2-314aad86ad86</rd:ReportID>
    </Report>
    Any suggestions would be greatly appreciated. Thanks!

    I did some digging and found a link that might help you/have an answer.
    http://stackoverflow.com/questions/14850503/change-default-font-ssrs-visual-studio
    https://connect.microsoft.com/SQLServer/feedback/details/574003/modify-the-default-font-family-for-sql-server-business-intelligence-development-studio-while-creating-a-report#
    If you click on work around someone posted that they were able to modify the default font in visual studio.
    "If I am not mistaken, you can update your Report.rdl template file in visual studio
    to use the default font you wish to use.
    navigate to this location (where x is your visual studio version):
    C:-\Program Files\Microsoft Visual Studio x\Common7\ide\PrivateAssemblies\ProjectItems\ReportProject
    copy report.rdl to an already created report project. 
    Add the report to your report project
    Update the default font where applicable.
    Copy the updated report.rdl back to the location above and that is it.
    The next time you open your project, you will be using the update rdl file as your
    template. 
    You can do this as many times as you want.
    Use this link as a reference
    http://weblogs.sqlteam.com/jhermiz/archive/2007/08/14/60283.aspx
    Cheers,
    Martin
    Blog:
    http://sustaslog.wordpress.com 
    LinkedIn:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • How do you change/adjust border width for all the cells in a table created in Pages?

    How do you change/adjust border width for all the cells in a table created in Pages?
    Note- I am trying to figure out how to create and format tables in the latest version of the Pages app on an iPad air (iOS 8.1.1.1) . Creating tables, adding or removing borders for individual/all cells in a table seems straight forward. However the default border style seems to be a heavy black line. How do I change this?
    I found the option add or remove borders for all/ individual cells in a table, however I can't find any option within style/format dialogue screens for changing colour or line thickness for table cells. Likewise I can't find any clear instructions on how to do this in apple help pages or support website
    Btw- I'm assuming  it is possible to customize/adjust the colour & thickness of selected lines in a table created in this app (it's fairly easy to do this word processing apps like MS Word) please let me  know if this is not actually possible in Pages

    They know perfectly well what they took out of Pages '09.
    Well over 90 features.
    Do you think you posting feedback is going to remind them of what they did?
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Pages '09 should still be in your Applications/iWork folder.
    Archive/trash Pages 5 and rate/review it in the App Store, then get back to work.
    Peter

  • IText trouble with automatically adjustment of table width

    With iText I an producing a PDF file with some elements. One of these is a table which is supposed to be centered.
    In this table 2x2 with input form a Servlet. This input is a string of variable length, in other words I do not know the length of it.
    I want this table to automatically adjust the cells width according to the length of the String. As I understand iText does not posess this functionality.
    This is how I have created the table: The first column has a width of 0.3 because the values in those I allready know. The default value is centered and 80% span, and because of this the table is not centered according to the text since the content contains empty space, but the 80% span table is centered.
    PdfPTable table = new PdfPTable(2);
    float[] widths = { 0.3f, 0.8f };
    table.setWidths(widths);How could I calculate this? The string has a font size of 22pt. Could I check for the number of chars in the String and adjust the width accordingly? It seems like I need to set the table.setWidthPercentage(50) in addition to the width size. But if I dont know the relationship between the width and percentages.
    If I calculate the width to be 0.6f with font size 22 and length x, how much percentages should I use?
    Message was edited by:
    DJ_Viking
    Message was edited by:
    DJ_Viking

    You need to use FontMetrics. In particular, use the FontMetrics of the table's renderer component so the string width will be calculated correctly even if the cell's value is bold. Something like this:
    Component comp = table.getDefaultRenderer(Object.class).getTableCellRendererComponent(table, cellValue, false, false, row, column);
    FontMetrics fm = comp.getFontMetrics(comp.getFont());
    int cellWidth = fm.stringWidth(cellValue);
    table.getColumnModel().getColumn(column).setWidth(cellWidth);

  • Can I adjust the width of a table cell as I like in web dynpro?

    hi,
        In Micro Soft word or excel, when we use tables,we can adjust the width of a cell at our pleasure. I wonder, in web dynpro development, wether we can change
    the width of cells as we like.Hope to hear your advices!

    Hi Daniel
    That feature is not available in the Webdynpro. hope we get that in future releases
    There is a sticky thread called "POLL: Web Dynpro UI elements - enhancement proposals" in the main page of webdynpro java forum. post your query there. SAP might consider this as useful enhancement.
    Best Regards
    Chaitanya.A

  • Visual Composer 7.2 SP3 - Adjust column widths of ALV tables by end user

    Hello,
    we're using ALV tables with values coming out of function modules and queries.
    Unfortunately I can't see an opportunity to adjust column widths at runtime by the end user. This is in contrast to VC 7.0 using flex.
    Is there a way to archieve this?
    Kind regards
    Stefan

    Hello Stefan,
    This is a feature of Webdynpro Flex runtime. You can adjust column widths at Flex runtime in 720 SP3 also.
    This is not supported by Webdynpro HTML runtime.
    Regards,
    Talia

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to add entire new row at the top of table in pdf report from c# windows forms using iTextSharp

    Hi for past 3 days i was thinking and breaking my head on how to add entire new at top table created in pdf report from c# windows forms with iTextSharp.
    First: I was able to create/export sql server data in form of table in pdf report from c# windows forms. Given below is the code in c#.
    using System;
    using System.Collections.Generic;
    using System.Configuration;
    using System.Text;
    using System.Data;
    using System.IO;
    using System.Data.SqlClient;
    using System.Windows.Forms;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    namespace DRRS_CSharp
    public partial class frmPDFTechnician : Form
    public frmPDFTechnician()
    InitializeComponent();
    private void btnExport_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(7);
    table.TotalWidth=585f;
    table.LockedWidth = true;
    PdfPTable inner = new PdfPTable(1);
    inner.WidthPercentage = 115;
    PdfPCell celt=new PdfPCell(new Phrase(new Paragraph("Institute/Hospital:AIIMS,NEW DELHI",FontFactory.GetFont("Arial",14,iTextSharp.text.Font.BOLD,BaseColor.BLACK))));
    inner.AddCell(celt);
    Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
    para.Alignment = iTextSharp.text.Element.TITLE;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(95f, 95f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("ID");
    table.AddCell("First Name");
    table.AddCell("Middle Name");
    table.AddCell("Last Name");
    table.AddCell("DOB" );
    table.AddCell("Gender");
    table.AddCell("Designation");
    while (dr.Read())
    table.AddCell(dr[0].ToString());
    table.AddCell(dr[1].ToString());
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString());
    table.AddCell(dr[4].ToString());
    table.AddCell(dr[5].ToString());
    table.AddCell(dr[6].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(inner);
    doc.Add(table);
    doc.Close();
    The code executes well with no problem and get all datas from tables into table in PDF report from c# windows forms.
    But here is my problem how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    As the problem i am facing is my title or Header(DCS Clinical Report-Technician wise) is at top of my image named:logo5.png and not coming to it's center position of my image.
    Second the problem i am facing is how to add new entire row to top of existing table in pdf report from c# windows form using iTextSharp?.
    given in below is the row and it's data . So how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    as you can see how i create my columns in table in pdf report and populate it with sql server data. Given the code below:
    Document doc = new Document(PageSize.A4.Rotate());
    var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(7);
    table.TotalWidth=585f;
    table.LockedWidth = true;
    Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
    para.Alignment = iTextSharp.text.Element.TITLE;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(95f, 95f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("ID");
    table.AddCell("First Name");
    table.AddCell("Middle Name");
    table.AddCell("Last Name");
    table.AddCell("DOB" );
    table.AddCell("Gender");
    table.AddCell("Designation");
    while (dr.Read())
    table.AddCell(dr[0].ToString());
    table.AddCell(dr[1].ToString());
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString());
    table.AddCell(dr[4].ToString());
    table.AddCell(dr[5].ToString());
    table.AddCell(dr[6].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    So my question is how to make my column headers in bold?
    So these are my questions.
    1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?
    I know that i have to do some modifications to my code but i dont know how to do it. Can anyone help me please.
    Any help or guidance in solving this problem would be greatly appreciated.
    vishal

    Hi,
    >>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?<<
    I’m sorry for the issue that you are hitting now.
    This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
    http://sourceforge.net/projects/itextsharp/
    Thanks for your understanding.
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can you make table width editable in a template

    I am new to html and am trying to use a template to create a
    site that will eventually have 10-12 pages. All of the pages will
    have the same basic design, but some need 1 main body section and
    some need 2 (1 main and 1 smaller off to the side). After doing 4
    pages, I realized I could use a template so I wouldn't have to
    re-enter all the links in the nav bar, etc., but if I do a page
    with just one main section, I would like that section to be wider.
    The template will not allow me to adjust the table. Is there a way
    to make the table width editable/adjustable? Thanks for any help
    you can give me... I'm sure to have many more questions once this
    gets solved!

    Well, it's OK, but I'm not sure where you want to go with
    this. I'm not
    crazy about how you have used the CSS - there are things
    there that I think
    are unnecessary....
    Consider this -
    <style type="text/css">
    <!--
    body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 80%;
    color: #000;
    background-color: #FFF;
    margin: 0 0 0 15px;
    padding: 0;
    color: #000;
    #wrapper {
    width:720px;
    div {
    border:thin solid #FFF;
    #banner {
    background-image:
    url(
    http://homepage.mac.com/nminicozzi37/PFC_Web_Test_Site/ahsban_02.gif);
    background-repeat: no-repeat;
    height: 20px;
    #main {
    font-size: 90%;
    #spacer {
    background-color: #FFF;
    height: 32px;
    #welcome {
    font-size: 125%;
    font-weight: bold;
    background-color: #FFCC00;
    height: 40px;
    padding-left: 5px;
    padding-top: 18px;
    #BlueSpacer {
    background-color: #00C;
    height: 20px;
    #welcome2 {
    font-weight: bold;
    color: #00C;
    background-color: #FC0;
    height: 45px;
    padding-left: 5px;
    padding-top: 18px;
    -->
    </style>
    </head>
    <body>
    <div id="wrapper">
    <div id="banner"></div>
    <div id="spacer">Content for id "spacer" Goes
    Here</div>
    <div id="welcome">Welcome to the Agoura High School
    Parent Faculty Club
    (AHS
    PFC) </div>
    <div id="welcome2"> Your source for all the latest PFC
    news and
    information </div>
    <div id="BlueSpacer"></div>
    <div id="main">Content for id "main" Goes
    Here</div>
    </div>
    </body>
    </html>
    Don't get into additive trouble with percent sized fonts.
    Remember, when
    you have an element with font-size:100%, that's 100% of 80%,
    and when you
    have one with font-size:60%, that's 60% of 80%.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "AH_Nancy" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thank you thank you thank you for your helpful
    suggestions, Murray.
    >
    > I am definitely prepared for time in the trenches.
    Anything worth doing is
    > worth doing right. You can see what I have done so far
    >
    http://homepage.mac.com/nminicozzi37/PFC_Web_Test_Site/.
    (The top graphic
    > will
    > be replace by the correct one when I get it.) Any
    comments/suggestions
    > welcome.
    >
    > Of the ways you suggested to organize the CSS, is there
    one you would
    > recommend over the others, or is it simply a matter of
    personal
    > preference?
    >
    > Nancy
    >
    >

  • Dynamic Table Width for XML Renderer

    Hi Guys,
    I'm looking for a way to get a XML documents with a dynamic table width.
    Using a dynamic result table doesn't work.
    The test program looks like this.
    REPORT  xml_test.
    TYPE-POOLS: ixml.
    DATA: go_ixml TYPE REF TO if_ixml.
    go_ixml = cl_ixml=>create( ).
    DATA:  go_xml_document TYPE REF TO if_ixml_document.
    go_xml_document = go_ixml->create_document( ).
    DATA: go_xml_root_elm TYPE REF TO if_ixml_element.
    go_xml_root_elm  = go_xml_document->create_simple_element(
               name = 'flights'
             parent = go_xml_document
             value  = 'Texas Flight' ).
    DATA: go_xml_main_elm TYPE REF TO if_ixml_element.
    go_xml_main_elm  = go_xml_document->create_simple_element(
                  name = 'airline'
                parent = go_xml_root_elm  ).
    DATA: lv_rc TYPE i.
    lv_rc = go_xml_main_elm->set_attribute( name = 'code' value = 'LH401' ).
    DATA: go_xml_streamfactory TYPE REF TO if_ixml_stream_factory.
    go_xml_streamfactory = go_ixml->create_stream_factory( ).
    * Static Creation of X tab ---------------------------------------------
    DATA: BEGIN OF gs_xml_line,
             data(255) TYPE x,
           END OF gs_xml_line.
    DATA:  gt_xml_table       LIKE TABLE OF gs_xml_line,
           gv_xml_size        TYPE i,
           go_ostream         TYPE REF TO if_ixml_ostream.
    * END Static Creation of X tab ------------------------------------------
    * Dynamic Creation of X tab ---------------------------------------------
    FIELD-SYMBOLS: <lf_x_tab>  TYPE STANDARD TABLE,
                   <lf_x_stru> TYPE ANY.
    DATA: lt_fldcat TYPE lvc_t_fcat.
    DATA: lr_tab TYPE REF TO data,
          lr_stru  TYPE REF TO data,
          ls_fldcat TYPE lvc_s_fcat,
          lv_dyn_width TYPE i.
    lv_dyn_width = 255.
    * Append Dynamic Field.
    CLEAR ls_fldcat.
    ls_fldcat-fieldname = 'DATA' .
    ls_fldcat-datatype  = 'X'.
    ls_fldcat-inttype   = 'X'.
    ls_fldcat-intlen    = lv_dyn_width.
    APPEND ls_fldcat TO lt_fldcat .
    * Create dynamic internal table and assign to FS
    CALL METHOD cl_alv_table_create=>create_dynamic_table
      EXPORTING
        it_fieldcatalog = lt_fldcat
      IMPORTING
        ep_table        = lr_tab.
    ASSIGN lr_tab->* TO <lf_x_tab>.
    * Create dynamic work area and assign to FS
    CREATE DATA lr_stru LIKE LINE OF <lf_x_tab>.
    ASSIGN lr_stru->* TO <lf_x_stru>.
    CHECK sy-subrc  = 0.
    * END Dynamic Creation of X tab ------------------------------------------
    * Static Table works
    go_ostream = go_xml_streamfactory->create_ostream_itable( table = gt_xml_table ).
    * Dynamic Table doesn't work
    go_ostream = go_xml_streamfactory->create_ostream_itable( table = <lf_x_tab> ).
    * Show result
    DATA: go_renderer        TYPE REF TO if_ixml_renderer.
    go_renderer = go_ixml->create_renderer( ostream  = go_ostream
                                            document = go_xml_document ).
    lv_rc = go_renderer->render( ).
    gv_xml_size = go_ostream->get_num_written_raw( ).
    DATA: lv_str  TYPE string,
          lv_xstr TYPE xstring.
    LOOP AT gt_xml_table INTO gs_xml_line.
      lv_xstr = gs_xml_line-data.
      CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
        EXPORTING
    *                          FROM_CODEPAGE       = '8500'
          in_xstring          = lv_xstr
    *                          OUT_LEN             =
       IMPORTING
         out_string          = lv_str.
      WRITE: / lv_str.
    ENDLOOP.
    If the static table is used, the program gets a result, but it doesn't work with the dynamic table.
    * Static Table works
    go_ostream = go_xml_streamfactory->create_ostream_itable( table = gt_xml_table ).
    * Dynamic Table doesn't work
    go_ostream = go_xml_streamfactory->create_ostream_itable( table = <lf_x_tab> ).
    Any Ideas?
    Thanks in advance
    Dominik

    I've never used dynamically changing popup items variable before, and I'm not sure it will work(?)
    But, if it's displaying a long string, it does not sound like 'items' is being assigned a proper table yet.
    I don't know what you mean by a  "chunk" of values. I assume you mean table.
    In any case, if SYPNEventResults[1].title is a string, then SYPNEventResults[1].value can be any legal lua type.
    Likewise for SYPNEventResults[2], SYPNEventResults[3], ...
    If you can index/display the title with this syntax, e.g. LrDialogs.message( SYPNEventResults[1].title ), then the popup should be initialized thusly:
    viewFactory:popup_menu {
           items = SYPNEventResults,
           value = LrView.bind('eventname2'),
           width_in_chars = 40,
    if a function is returning multiple values, then to get it into a table "array", do this:
    local tableArray = { myTableArrayFunc( myTableArrayParameters ) }
    Does this help?
    Rob

Maybe you are looking for

  • Video on Firewire monitor produces dropouts in audio

    Syncing a DV with Firewire produces severe and intermittent audio dropouts. If the movie is set to "Window" there is no problem. Using a Canopus ADVC 110. Never had the problem until yesterday, it worked fine. Anyone have the same problem?

  • After upgrade ios 7 and itune 11 iphone icon not showing up on itune

    I've just upgraded my iphone4 to ios 7. also upgraded itunes to 11.1, but then when I connect my iphone onto my PC, the iphone icon not showing up on itune, I can only see it as a camera device on file explorer in windows8, what can I do?

  • Terms

    Hi , I am BI consultant , Can anyone tell me some important terms in SD , and areas that an ABAP , BI Techincal consultant shold know basically in SD to understand the client requirment in a better way so that we can give effective reports  . Eg : Sa

  • OutOfMemoryError using XSQLInsertRequestHandler

    I found a memory leak while using version 9.0.1.0 and 9.0.2.0A of the XDK. It's probably the result of something I should be doing but am not. Using a profiler, I found that the heap is filling with 8K buffers created by java.io.OutputStreamWriter. H

  • Nokia6111

    can somebody please help me i have never owned a nokia before and i am completley baffled, when i try to connect with bluetooth it asks me for a pin number which i do not know. also i cannot get on my email on the phone. i would be most grateful if s