Dynamic Table display Horizontally??

Is there any relatively easy way to make a DW CS3 Dynamic
Table display horizontally? So far the best I can figure out is to
do multiple <cfoutput query= lines per:
<table border="1">
<tr> <cfoutput query="rsOfficeStyles"
startRow="#StartRow_rsOfficeStyles#"
maxRows="#MaxRows_rsOfficeStyles#">
<td>#rsOfficeStyles.image#</td> </cfoutput>
</tr>
<tr> <cfoutput query="rsOfficeStyles"
startRow="#StartRow_rsOfficeStyles#"
maxRows="#MaxRows_rsOfficeStyles#">
<td>#rsOfficeStyles.name#</td> </cfoutput>
</tr>
</table>

You need to pass the following to the quantity fields..
ls_fieldcat-do_sum = 'X'.
When you build the sort table, do this...
FORM sort_build USING lt_sort TYPE slis_t_sortinfo_alv.
  DATA: ls_sort TYPE slis_sortinfo_alv.
  CLEAR ls_sort.
  ls_sort-spos = 1.
  ls_sort-tabname = gt_tabname_item.
  ls_sort-fieldname = 'DESCBIEN'.
  ls_sort-subtot = 'X'.
  ls_sort-up = 'X'.
  ls_sort-group = 'UL'.
  APPEND ls_sort TO lt_sort.
ENDFORM.                    " sort_build
Has you any way of knowing which fields are quantity?
Greetings,
Blag.

Similar Messages

  • Issue in Dynamic table creation in userform

    Hi all,
    My userform displays a simpletable using an arraylist returned from the WF as data source. I have all the columns of this dynamic table displayed as labels.
    Question:
    Now I have added another new column to this table which I want to be editable (textfield) while the rest of the existing columns should be the same labels. How do I accomplish this task since the fieldloop for the table uses only a single arraylist?
    this is how my code looks like
    <FieldLoop for='abc'>
    <expression>
    <block>
    <ref>List</ref>
    </block>
    </expression>
    <Field name='tmptable'>
    <Display class='SimpleTable'>
    <Property name='noNewRow' value='true'/>
    <Property name='border' value='0'/>
    <Property name='align' value='center'/>
    </Display>
    <Field name='$(abc)'>
    <Display class='Label' action='true'>
    <Property name='value'>
    <ref>abc</ref>
    </Property>
    </Display>
    </Field>
    </Field>
    </FieldLoop>
    thanks in advance
    kp

    That was pretty simple solution. I made a disable clause to the label control for the last column and instead displayed a textbox control.
    thanks anyway

  • How to add dynamic ordered list in dynamic table?

    Ok let say I have a dynamic table with 4 columns; 1) Name 2) Tel 3) Address 4) Occupation. I don't populate primary key id to the table but what I want to do is add another column to the dynamic table and label the header as No. or #. I want to make the column as list colum for my dynamic table. If the dynamic table displays 10 record (row) in a page the list row will automatically follow the number of rows. Then in the next page the list will continue from 20 and so on.
    I use PHP so if it's not possible directly from dreamweaver and PHP solution is highly welcomed.
    Thanks in advance!

    You just need to create a counter and populate the 'No.' with the current value of the counter.
    > I want to make the column as list colum for my dynamic table.
    Not sure what you mean by 'list column'.

  • Refresh dynamic table

    I have a dynamic table displayed on my page and a form which adds records to the table displayed in the dynamic table. Is there a way to refresh the contents of the dynamic table after adding a new record from the form so it is displayed there?  I'm familiar with the page refresh header but that can cause a conflict with the form if I'm in it during the refresh cycle. Thanks, Michael

    Can you explain the workflow a little more. Is the update form and table on the same page. Are you looking to have the table refresh when another user updates the data?

  • How can I filter which records are displayed in my dynamic table?

    I have what I think is probably an easy question for anyone
    who is experienced with PHP/MySQL and Dreamweaver (which I am not).
    I have a website where users login, and then have access to
    their homepage which displays a dynamic table of all of the records
    that they have inserted into a database (this page also has a link
    to the form where they submit a record). However, right now I can
    only get to display all records that have been inserted instead of
    only the ones that they have inserted (which is what I want). How
    can I accomplish this?
    I already have a session variable, 'MM_username', which
    allows me to bind the user_ID to anything I need to, and when a
    user inserts a record, their 'user_ID' is already inserted into a
    column in that record for that table, so I'd like to display the
    dynamic table in a way that filters it out so it only shows the
    records that match the logged-in user's 'user_ID'.
    I've tried to use the filter function in the recordset dialog
    box, nut I just can't get it to work correctly. Any help on this
    would be much appreciated!

    I already tried that. I set the table to filter out and
    display only the records that match the landlord ID to the session
    variable(which I named 'Landlord_ID' not 'MM_username ' like I said
    earlier). When I tried to simply insert the session variable into
    the page just to see what data would show up, the result is just a
    blank space, so the session variable itself apparently has no data
    value to echo in the PHP form.
    Because of that, I have no idea how to tell dreamweaver to
    filter based on the Landlord_ID, even though I CAN echo the
    landlord ID variable in the recordset, I can't figure out how to
    put that runtime value in the filter.

  • How to give color of particular cell in alv list display for dynamic table

    Dear Experts,
    i want to give color of a particular cell in alv list display (reuse_alv_list_display). Here i am passing data through dynamic table?

    Hi,
    Se this:
    DATA: lt_color    TYPE lvc_t_scol WITH HEADER LINE.
    DATA: BEGIN OF data_tab OCCURS 0.
             tabcolor     TYPE   lvc_t_scol,
          END OF data_tab.
    * Befone ALV call
      alv_layout-coltab_fieldname  = 'TABCOLOR'.
    * For each row in data_tab
    REFRESH: lt_color.
    CLEAR: lt_color.
    lt_color-color-col = 6.
    lt_color-color-int = 1.
    lt_color-fname = FIELD1'.
    APPEND lt_color.
    lt_color-color-col = 2.
    lt_color-color-int = 0.
    lt_color-fname = 'FIELD2'.
    APPEND lt_color.
    data_tab-tabcolor[] = lt_color[].
    append data_tab.
    Best regards,
    Leandro Mengue

  • How to change the display limits of a dynamic table?

    Hi folks,
    I'm using DW CS4 and PHP. I've got a php page with a dynamic table and repeating region that I built for my client. This table lists our entire active member list. Initially I built the dynamic table to show only 50 records at a time because 300+ records made an overly long page. Now my client wants all the records on a single page, because he doesn't like clicking through the recordset paging of First - Next - Previous - Last list to find who he is looking for. I tried changing the Repeating Region behavior to All Records (rather than 50) but it still displays only 50. I'm sure this is because initially when I set up the dynamic table, I limited it to 50 there. Is there an easy way to change the dynamic table from 50 to All Records, without rebuilding the entire page? I've looked in several places and can't find a way to edit this. Thanks for your help,
    Gail

    Gunter,
    Thanks for your continued help on this forum. You have made people's
    work a lot easier and stuck with them through some thorny issues.
    If I may redirect you to an issue I had a few months back - the initial
    posting was here at:
    http://forums.adobe.com/thread/767154?tstart=300
    I couldn't turn the answers I received into a workable solution. Would
    you be willing to take a look at this?
    Thanks again for your help,
    Gail

  • How to display the rows dynamically in the table display in web dynpro abap

    Hi experts,
                   There is a visible row count tab where you can give the no of rows to be displayed in the output table, but i want it to be done dynamically as the row count of my table may change dynamically at runtime.
    And i want to know how to reduce the width of a column as my table display is taking the length as per the binded table specifications.Can anyone please help me out in this issue.
    Thanks in advance,
    Anita.

    Hi Anita
    You can bind the visiblerowcount property to the a context attribute. and at runtime you can set the context attribute to the no of rows you want in your table,
    Regards
    Naresh

  • Problem in displaying dynamic table placed in master page

    Hi all,
    I have placed a dynamic table in my master page. When the page overflows the dynamic table is shown only in 1st page. I want this table to be shown in every page. Please help me solve this.
    Regards,
    Devaiah

    hi,
    Thank you all for your reply. But i cannot keep the table in body page as i want this table to be displayed in every page in the header.  Actually i am displaying an address through this table.
    I have moved the content area in master page to center and reduced its size and in the body page i have placed a table which will display the report. When this table overflows to next page all the contents in master page are shown except for the address table in master page. I am not sure whether i am doing it the right way as i am bit new to adobe forms.
    Please let me know where am i going wrong. Also please suggest me some alternative method ( if any ) to display the address in every page if the above method is not feasible.
    Regards,
    Devaiah

  • Have to display a dynamic table on specific height of JSP page

    I have large data.
    I have to show this data in dynamic table on jsp page.
    the JSP page is logically divided in different pages (as this page is used for printing on specified size of page)
    I can only display atmost 12 single rows on one page
    but some times text of one column of row become so large that rows expands vertically and occupies space of 2 or 3 rows (thats why now i have to display 8 or 9 rows on first page and then remaining on next )
    becoz of this i cant implement this check (only show 12 rows on a page).
    so what can i do to show specified height of table on one page and remaining move to next page.

    hi,
    its not so easy ...i had this problem once befor 2 months in the work
    i think u have to implement a Controller.java class that controll the iterating between pages ...
    u should have an pageIndex and just play with this index (increment and decrement)

  • Colors in Dynamic ALV table display

    Hello All,
    I have dynamic ALV table display in which i created the columns dynamically and finally binded that created node and diplayed the table ..
    Now what i want to do is depending on some condition i need to change the colors in the table display..
    I tried to set the color in this way inside the loop .
                     if lv_phase  = '3'.
                   lr_column->set_cell_design( CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-badvalue_medium ).
                     else.
                    lr_column->set_cell_design( CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-standard ).
                   endif.
    This piece of code either changes all the coloumns into one color only why it is not changing the color based upon the condition . I am unable to understand..
    Please help me in this...Do i need to some thing else..

    Solved by creating a new column called cell design ... and settign the set_cell_design_fieldname ...
    This solved my Problem ..

  • Multiple Models & Conditional Display in Dynamic Table.

    Hi
    There are 5 models pointing to different systems. The user will randomly select the system and accordingly the models will get executed.
    My issue is in the second screen I need to populate a table which should display the data from multiple models at the same time.. I need to loop trough the models and check, the search term entered by the user, in which all system the same is present and accordingly I need to display in table...
    Please help me by placing some sample code for looping in multiple output nodes and create table dynamically and display the data in the coloumn...Coloumn numbers are fixed.....
    Regards
    SU

    Hi
    I suggest to create a value node to show the results in a view.
    and loop at all the model nodes and when match found create an new element for the table and add it to the table node.
    This is the code to Create Table and its columns dynamically.
    place the code in wdDoModifyView()
    IWDTable <tableref> = (IWDTable) view.createElement(IWDTable.class,"<tablename>");
    <tableref>.bindDataSource(wdContext.node<node>().getNodeInfo());
    IWDTableColumn <colref> =(IWDTableColumn)view.createElement(IWDTableColumn.class,"F");
    IWDInputField inf = (IWDInputField )view.createElement(IWDInputField.class,"d");
    inf.bindValue(wdContext.node<node>().getNodeInfo().getAttribute("<attribute>"));
    <colref>.setTableCellEditor(inf);
    <tableref>.addGroupedColumn(<colref>);
    IWDTransparentContainer <grp> =(IWDTransparentContainer)view.getElement("RootUIElementContainer");
    <grp>.addChild(<tableref>);
    Regards
    Abhimanyu L

  • Alternatives to dynamic tables for displaying dynamic data

    What methods are available for displaying data from MySQL
    with PHP on a web page? Is there any alternative to a dynamic table
    when the the quantity of data will vary? anything CSS based?
    Many Thanks

    On 27 May 2006 in macromedia.dreamweaver, Pingus mum wrote:
    > so i could just output to a div for example?
    Or a paragraph, or an <h4>, or an unordered list, or
    any other container
    tag, or the src attribute on an <img> tag, or any
    combination of the
    above. Consider the case where the database consists of press
    releases -
    date, headline, body. You could, say, make the repeat region
    like this:
    <h1>Press Releases</h1>
    <!-- start of repeat region -->
    <h2><& headlineFromDatabase &></h2>
    <p><& dateFromDatabase &> - <&
    bodyFromDatabase &></p>
    <!-- end of repeat region -->
    <address>Contact Information</address>
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/email.php

  • Value of cell is not displayed while trying to generate dynamic table rows

    I am creating dynamic table with CoreTable, CoreColumn. I want to place CoreOutputText in the cells of the column. The header of the column is rendered properly, but not the cell value. Below is the code snippet,
              dynamicTable = new CoreTable();
              CoreColumn dynamicCol1 = new CoreColumn();
              dynamicCol1.setHeaderText("First");
              dynamicCol1.setParent(dynamicTable);
              dynamicTable.getChildren().add(dynamicCol1);
              CoreOutputText dynamicCell1 = new CoreOutputText();     
              dynamicCell1.setValue("Hello");
              dynamicCell1.setParent(dynamicCol1);
              dynamicCol1.getChildren().add(dynamicCell1);
    I want "Hello" to be printed on the cell (which is not happening now). Any idea why is not getting displayed?

    I am creating dynamic table with CoreTable, CoreColumn. I want to place CoreOutputText in the cells of the column. The header of the column is rendered properly, but not the cell value. Below is the code snippet,
              dynamicTable = new CoreTable();
              CoreColumn dynamicCol1 = new CoreColumn();
              dynamicCol1.setHeaderText("First");
              dynamicCol1.setParent(dynamicTable);
              dynamicTable.getChildren().add(dynamicCol1);
              CoreOutputText dynamicCell1 = new CoreOutputText();     
              dynamicCell1.setValue("Hello");
              dynamicCell1.setParent(dynamicCol1);
              dynamicCol1.getChildren().add(dynamicCell1);
    I want "Hello" to be printed on the cell (which is not happening now). Any idea why is not getting displayed?

  • Image not displaying on a dynamic Table !

    Dear Friends,
    In my assignment, I would like to display the Status column of a table with different image as per the data received from backend system.
    Infact it is a dynamic table generation.  The code snippet is as below:
    IWDNodeInfo tabNode=wdContext.getNodeInfo().getChild("Reports_TAB");
    String colName="Status";
    String imagePath=tabNode.getAttribute(colName).toString();
    IWDImage colImage=(IWDImage)view.createElement(IWDImage.class, colName+"Image");
    colImage.setSource(imagePath);
    But problem, is imagePath is hold the value as DataAttributeInfo(DashBoardView.It_FinalTAB.Status), instead of actual image name.
    (Ya, Image is stored in src/mimes/Components/<component>/ folder, which is working absolutely fine with test example.)
    Because of this, image is not displaying on the table elements.
    Can anybody help me, how can retrive exact image name from the tabNode?
    Thanks in advance,
    Lakshmikantha

    Hi Lakshmikantha,
         Instead of Doing colImage.setSource() you have to do collmage.bindSource()
    IWDNodeInfo tabNode=wdContext.getNodeInfo().getChild("Reports_TAB");
    String colName="Status";
    IWDAttributeInfo imagePath=tabNode.getAttribute(colName);
    IWDImage colImage=(IWDImage)view.createElement(IWDImage.class, colName+"Image");
    colImage.bindSource(imagePath);
    What we have done here is when the table column is created we are mentioning that at runtime for each record the image source has to be taken from the attribute value of "Status". This will only work if at runtime the value coming in the Attribute Status has the image path (relative path).
    If for instance you dont have the image path coming from the backend but only the status code and you have to decide which image to show at runtime. This is mostly the case. Then under the node "Reports_TAB" you will have to create a calculated attribute of type String. The calculated attribute will generate a getter method which will accept the current record and return the string. You will have to write code to extract status from the current record and return the appropriate path.
    The binding of the Image table column should now point to the newly created calcuated field instead of the field Status.
    Hope this helps.
    Regards,
    Sanyev

Maybe you are looking for

  • List of blocked invoices purchase group wise

    Hi experts Any standard reports available for blocked invoices purchase group wise ? Wht is the Tcode for that?

  • How can I upgrade from Tiger 10.4.11 to Leopard?

    All I can find on eBay and elsewhere are "used" discs, and I'm afraid of purchasing them because I'm afraid I won't get the full functionality of what was once a "new" upgrade disc. (Like, perhaps, a serial number being registered by a previous owner

  • Compression large clip

    Hi everybody, I would like to make a DVD out of a .mov sequence, the size of which is 85 Go (about 4 hours). I understand that compressor can only compress 2 hours and FCP about the same. How can I compress 4 hours ? If I split it in two in FCP and g

  • HT1541 Request is temporarily unable to be processed

    I had bought an audio book for my fiance last summer and now it is not appearing on her phone for her to listen to even though she had previously been able to listen to it. I keep getting "Your request is temporarily unable to be processed, please tr

  • Security removed from business rules

    Hi, The business rules for an application stopped working with an error it could not be validated against the database. I looked on this thread Error validating business rule The security was no longer present. The business rules had not been importe