Table rows get deselected

Re: http://forums.sun.com/thread.jspa?threadID=5431255&tstart=0
I was not trying to hijack a thread. And I was not changing the subject. I just want to know what the solution to the OP's problem was. My problem is similar. There was only "probably" answers and "try" something else. What actually fixes the problem? If fireTableDataChanged is not the right thing to use because it deselects rows, what is there that updates the table but does NOT deselect rows?

camickr wrote:
1) store the selected rows
2) update the model
3) reset the selected rowSounds simple. But I notice the lack of plural in step 3. There doesn't seem to be a setSelectedRows() method that would take the int[] returned from getSelectedRows() and reselect those same rows.
Here's a solution I found to do the deed. Rather than use the fireTableDataChanged(), which clears the row selection and also the ListSelectionModel, use the fireTableRowsUpdated() method with the range retrieved from the ListSelectionModel, as follows:
    ListSelectionModel lsm = chanTable.getSelectionModel();
    AbstractTableModel model = (AbstractTableModel) chanTable.getModel();
    model.fireTableRowsUpdated(lsm.getMinSelectionIndex(), lsm.getMaxSelectionIndex());

Similar Messages

  • Button in a table row to get value of a column.

    Hello,
    I am following [this thread|Re: Problem with getting table element's table row] to get the value of a column up on button click (the button is in the same row).
    Here is the code in wdDoModify ()
    if (firstTime)
              IWDButton button = (IWDButton) view.getElement("TableCellEditor");
              button.mappingOfOnAction().addSourceMapping("ScheduledCourses", "row");
    Here is the code in the button action()
    public void onActionRegisterStudent(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, com.gfc.hr.training.wdp.IPrivateCourseRegistrationCompView.IScheduledCoursesElement row )
        //@@begin onActionRegisterStudent(ServerEvent)
         wdContext.nodeScheduledCourses().setLeadSelection(row.index());
        //@@end
    The context node for the table is "ScheduledCourses"
    When I click the button, I get an exception....
    com.sap.tc.webdynpro.services.exceptions.WDIllegalArgumentException: Parameter ScheduledCourses not found

    Hi Srinivas,
    Assuming you have a node 'ScheduledCourses' with two attributes 'courseId' and 'courseName' and you want to display the 'courseName' on click of the button placed in a particular row of the table, please try the following (Most of them you have already done, if i am not wrong. I am listing the entire steps so that you can check whether you have missed any thing). 
    1. Place a Table UI element and bind the datatsource property to the node 'ScheduledCourses'
    2. Insert a new column in the table and for the column insert a table cell editor and select 'Button' from the list.
    3. select the button(table cell editor) and create an action for the button. While creating an action create a parameter with name 'courseElement' and type as IPrivate<ViewName>.IScheduledCoursesElement (Interface representing element of ScheduledCourses node)
    3. In wdDoModifyView() write the following code
        if(firstTime){
             IWDButton button=(IWDButton)view.getElement("Button1");
             button.mappingOfOnAction().addSourceMapping("nodeElement","courseElement");
    Here "Button1" is the id of the button inserted in the table column. The string "nodeElement" should be written as such and "courseElement" is the name of the parameter which we have created for the action of the button.
    4. Now in the action created for the button try to print the courseName as shown
    wdComponentAPI.getMessageManager().reportSuccess(courseElement.getCourseName());
    Regards,
    Shabeer

  • How to use script to get the first table row on each page?

    I create a print form to display a table. I set a conditional page break on this table, so the table rows on each page could be different.
    For example, there're total 50 rows in this table. On the 1st page, there're 5 rows, but on the 2nd page, there're only 2 rows, and so on...
    Now I want to get some value from the 1st table row on each page. How can do that? I can refer to a table row using TableRow[n], but I don't know how to calculate 'n' in script (either FormCalc or JavaScript) for the 1st row on each page.
    Any ideas?

    Hi Wei,
    There is an option of setting the overflow header in the pallette. You may check that out. It is basically used to have the table header to be seen in all pages, if the table is overflowing to multiple pages. You may put your first row as the overflow header.
    - hope this helps, Kindly update,
    thanks and regards,
    - anto.

  • How to get the index of table row without selection?

    Hi all,
    I have an table designed in XML view.Now i have added an change method for qty cell "valqty". When user inputs the qty in the cell and press enter this method is triggered now I want to know which index of the table is currently edited.Through which i can get the value of other cell in the same row.
    NOTE: The table row doesn't have selection either multiple or single
    I tried the following inside the valqty method but it now working
    this.getValue();
    this.getBindingContext().getProperty('PRD_NUM');
    <Table id="idProductsTable"
    inset="false"
    items="{oModel>/deliverylist}"
    visibleRowCount= "7"
    mode="MultiSelect"
    modeAnimationOn="true">
    <headerToolbar>
    <Toolbar>
    <Label text="Products"></Label>
    </Toolbar>
    </headerToolbar>
    <columns>
    <Column
    minScreenWidth="Tablet"
    demandPopin="true">
    <Text text="Order" />
    </Column>
    <Column
    minScreenWidth="Tablet"
    demandPopin="true">
    <Text text="Quantity" />
    </Column>
    </columns>
    <items>
    <ColumnListItem>
    <cells>
    <Text text="{oModel>PRD_NUM}" />
    <Input value="{oModel>DEL_QUAN}" change="valqty" maxLength="13"  />
    </cells>
    </ColumnListItem>
    </items>
    </Table>
    Thanks

    Thanks Robin,
    But in my case oEvent.getSource() is returning the cell instance and
    oEvent.getSource().getBindingContext() is undefined
    Hence not getting the value
    I also tried the following
    oEvent.getSource().getParent().getParent().indexOfItem()
    But index returned is -1

  • Get Table Row Count

    hi folks,
    How to get a tables' row count (number of records)?
    Values of table are filled by an RFC return structure. Or how can we get the number of records in the RFC return structure?
    thanks in advance
    nikhil

    Hi,
    Check the size of the node bound to the table
    lets say orders is the node bound to the table
    //Replace orders with the node bound to your table.
    wdContext.nodeOrders().size();
    Regards
    Ayyapparaj

  • While Joining 3 tables am getting 2 rows,actual i need a single row

    Hi all,
        While joining 3 tables am getting 2 Rows, i need  1 row.
    please find my query and actual output and expected output.
    Help me out to handle this.
    select
            --MFU_D_C_INVESTOR_ID_DET,
            mfu_remove_junk(Q.CAN)                               CAN_ST,
            mfu_remove_junk(Q.INSTALLMENT_AMOUNT) AMOUNT_ST,
            mfu_remove_junk(x.Can )                                Can ,
            mfu_remove_junk(x.Amc_Code )                      Amc_Code ,
            mfu_remove_junk(x.Folio_No )                         Folio_No ,
            mfu_remove_junk(x.Order_Status )                  Order_Status ,
            mfu_remove_junk(x.User_Code )                    User_Code ,
            mfu_remove_junk(x.User_Txrn_No )               User_Txrn_No ,
            mfu_remove_junk(x.Group_Ord_No )              Group_Ord_No ,
            mfu_remove_junk(x.Ind_Txn_Ref_No )            Ind_Txn_Ref_No ,
            mfu_remove_junk(x.Pending_Txn_Ref_No )    Pending_Txn_Ref_No ,
            mfu_remove_junk(x.Appl_No )                       Appl_No ,
            mfu_remove_junk(x.Ts_Machine_Id )             Ts_Machine_Id ,
            mfu_remove_junk(x.Trxn_Date )                    Trxn_Date ,
            mfu_remove_junk(x.Trxn_Time )                    Trxn_Time ,
            mfu_remove_junk(x.Timestamp_No )             Timestamp_No ,
            mfu_remove_junk(x.Sch_Code )                   Sch_Code ,
            mfu_remove_junk(x.Reinv_Tag )                    Reinv_Tag ,
            mfu_remove_junk(x.Txn_Mode )                   Txn_Mode ,
            mfu_remove_junk(x.Trxn_Type )                   Trxn_Type ,
            mfu_remove_junk(x.Sub_Trxn_Type )           Sub_Trxn_Type ,
            mfu_remove_junk(x.Units )                          Units ,
            mfu_remove_junk(x.Amount )                      Amount ,
            mfu_remove_junk(x.All_Units_Flag )            All_Units_Flag ,
            mfu_remove_junk(x.Entity_Id )                    Entity_Id ,
            mfu_remove_junk(x.ENTITY_BRANCH_ID )  ENTITY_BRANCH_ID ,
            mfu_remove_junk(x.Location )                     Location ,
           (TO_CHAR(sysdate,'DD-MON-RRRR'))        CREATED_DATE
         From MFU_FTP_XML_FILES T
      Left Join Xmltable('/COMM_TXN_STRUCT/FILE_ROWS/FILE_ROW'
                          Passing T.Filecontent
                          Columns
    --MFU_D_C_INVESTOR_ID_DET
    Can                 Varchar2(500) Path  'INVESTOR_ID_DET/CAN',
    Amc_Code            Varchar2(500) Path  'INVESTOR_ID_DET/AMC_CODE',
    Folio_No            Varchar2(500) Path  'INVESTOR_ID_DET/FOLIO_NO',
    Order_Status        Varchar2(500) Path  'TRANSACTION_DET/ORDER_STATUS',
    User_Code           Varchar2(500) Path  'TRANSACTION_DET/USER_CODE',
    User_Txrn_No        Varchar2(500) Path  'TRANSACTION_DET/USER_TXRN_NO',
    Group_Ord_No        Varchar2(500) Path  'TRANSACTION_DET/GROUP_ORD_NO',
    Ind_Txn_Ref_No      Varchar2(500) Path  'TRANSACTION_DET/IND_TXN_REF_NO',
    Pending_Txn_Ref_No  Varchar2(500) Path  'TRANSACTION_DET/PENDING_TXN_REF_NO',
    Appl_No             Varchar2(500) Path  'TRANSACTION_DET/APPL_NO',
    Ts_Machine_Id       Varchar2(500) Path  'TRANSACTION_DET/TS_MACHINE_ID',
    Trxn_Date           Varchar2(500) Path  'TRANSACTION_DET/TRXN_DATE',
    Trxn_Time           Varchar2(500) Path  'TRANSACTION_DET/TRXN_TIME',
    Timestamp_No        Varchar2(500) Path  'TRANSACTION_DET/TIMESTAMP_NO',
    Sch_Code            Varchar2(500) Path  'TRANSACTION_DET/SCH_CODE',
    Reinv_Tag           Varchar2(500) Path  'TRANSACTION_DET/REINV_TAG',
    Txn_Mode            Varchar2(500) Path  'TRANSACTION_DET/TXN_MODE',
    Trxn_Type           Varchar2(500) Path  'TRANSACTION_DET/TRXN_TYPE',
    Sub_Trxn_Type       Varchar2(500) Path  'TRANSACTION_DET/SUB_TRXN_TYPE',
    Units               Varchar2(500) Path  'TRANSACTION_DET/UNITS',
    Amount              Varchar2(500) Path  'TRANSACTION_DET/AMOUNT',
    All_Units_Flag      Varchar2(500) Path  'TRANSACTION_DET/ALL_UNITS_FLAG',
    Entity_Id           Varchar2(500) Path  'TRANSACTION_DET/ENTITY_ID',
    ENTITY_BRANCH_ID    Varchar2(500) Path  'TRANSACTION_DET/ENTITY_BRANCH_ID',
    Location            Varchar2(500) Path  'TRANSACTION_DET/LOCATION'
    ) X
    on (1=1)
         left join XMLTABLE('/CT_SYS_STRUCT/FILE_ROWS/FILE_ROW'
                   PASSING T.FILECONTENT
                   columns
    CAN                varchar2(500)  PATH 'INVESTOR_ID_DET/CAN',
    INSTALLMENT_AMOUNT varchar2(500)  PATH 'TRANSACTION_DET/INSTALLMENT_AMOUNT'
    )Q
    on (1=1)
    Where
    TRUNC((TO_DATE(T.RETRIVED_DATE,'DD-MON-RRRR HH:MI:SS PM')))=TRUNC(SYSDATE-2)
    Order By Rownum,X.Can Asc;
    Actual O/P:
    15114LBA01  1000.00     (null)               (null)         (null)     (null)      (null)                 (null)               (null)                  
            (null)      (null)         15114LBA01    SMF         AC       MFU    40715117000    15114010001   1511401000102      
    Expected O/P:
    can_st                amount     can                 amc    order  user      trxn_no             group_ord         ind_txn_no
       15114LBA01   1000.00  
    15114LBA01    SMF 
    AC 
    MFU    40715117000    15114010001    1511401000102 

    Expected O/P:
    can_st      amount  can       amc order user trxn_no     group_ord   ind_txn_no
    15114LBA01 1000.00 15114LBA01 SMF
    AC
       MFU 40715117000 15114010001 1511401000102
    check http://docs.oracle.com/cd/E11882_01/server.112/e41084/ap_keywd001.htm#SQLRF55621
    to verify:
    with
    actual_output as
    (select '15114LBA01' can_st,1000.00 amount,null can,null amc,null order_,null user_,null trxn_no,null group_ord,null ind_txn_no from dual union all
    select null,null,'15114LBA01','SMF','AC','MFU',40715117000,15114010001,1511401000102 from dual
    select max(can_st) can_st,max(amount) amount,max(can) can,max(amc) amc,max(order_) order_,max(user_) user_,max(trxn_no) trxn_no,max(group_ord) group_ord,max(ind_txn_no) ind_txn_no
      from actual_output
    CAN_ST
    AMOUNT
    CAN
    AMC
    ORDER_
    USER_
    TRXN_NO
    GROUP_ORD
    IND_TXN_NO
    15114LBA01
    1000
    15114LBA01
    SMF
    AC
    MFU
    40715117000
    15114010001
    1511401000102
    select max(can_st) can_st,max(amount) amount,max(can) can,max(amc) amc,max(order_) order,max(user_) user,max(trxn_no) trxn_no,max(group_ord) group_ord,max(ind_txn_no) ind_txn_no
      from actual_output
    ORA-00923: FROM keyword not found where expected
    Regards
    Etbin

  • Getting error while setting color to table rows?

    Hi All
    I am trying to setting colors to table rows based on dropdown value.
    lv_Dropdown vaue =1 i want to set one color, 2-another color like that.
    For this I create attribute CELL_DESIGN of type WDUI_TABLE_CELL_DESIGN in node, and i bind this attribute to every column celldesign property in table. and my code in on select of dropdown.
      data lr_column type ref to cl_wd_table_column.
    data:obj_table type ref to cl_wd_table.
    lr_column = obj_table->get_column( id = 'TABLE_WEEK1' ).
    if lv_dropdown = 1.
       lr_column->set_cell_design(
    cl_wd_table_column=>e_cell_design-badvalue_dark ).
    endif.
    lr_column->bind_cell_design( path = 'SEGMENT1.CELL_DESIGN'  ). ...Giving dump at r_colum = get_column( )
    I follow correct code or not??
    Cheers,
    Venkys.

    Sorry Sarbjeet and baskaran i am not getting,
    I want to set colors to row of a table on dropdown selection. In dropdown i ahve a code like
    DATA lo_nd_segment1 TYPE REF TO if_wd_context_node.
      DATA lo_el_segment1 TYPE REF TO if_wd_context_element.
      DATA ls_segment1 TYPE wd_this->Element_segment1.
      data lt_segment1 type wd_this->elements_segment1.
      DATA lv_segment TYPE wd_this->Element_segment1-segment.
    navigate from <CONTEXT> to <SEGMENT1> via lead selection
      lo_nd_segment1 = wd_context->get_child_node( name = wd_this->wdctx_segment1 ).
    get element via lead selection
      lo_el_segment1 = lo_nd_segment1->get_element( ).
      lo_el_segment1 = WDEVENT->GET_CONTEXT_ELEMENT( 'CONTEXT_ELEMENT' ).
    get all declared attributes
      lo_el_segment1->get_static_attributes(
        IMPORTING
          static_attributes = ls_segment1 ).
    DATA : lv_dropdown type string .
    lv_dropdown =  ls_segment1-segment.
    if lv_dropdown = 1.  SET ONE COLOR TO THAT ROW
    endif.
    if lv_dropdown = 2.  SET ONE COLOR TO THAT ROW
    endif.
    Now what should be the code in WDMODIFYVIEW method to set table row with colors.
    Cheers,
    Venkys.

  • Getting at the data binding for table rows in ADF/UIX

    At the highest level, I'm trying to figure out the best way to get spreadsheet-like behavior in a table where some of the cells are editable. The table cells were created using the "model=${uix.current.<columnName>}" mechanism.
    I've been able to specify event handlers triggered by the <primaryclientaction> for a table cell component which call into static java methods. But I haven't been able to figure out what binding to use to get at the Java instance for that cell's row in order to use <invoke> to get at non-static methods in the row's view object. The ${uix.current} binding is stale at that point.
    Are the table row data bindings just gone after the table is rendered or is there some alternate notation that lets me get at them.
    Thanks in advance.

    the primaryclient action should pass the rowkey of the current row (${uix.current.rowKeyStr}) as a parameter. This way the server can find the corresponding row on the server in an event handler.
    see
    http://www.oracle.com/technology/products/jdev/tips/jacobi/edittable/tip_adfuixtable_edit.html

  • How to get more table rows to appear on form

    I'm looking for a way to have more table rows appear on the actual form.  I created a table with one header and one row with the add and delete button option.  I like how the purchase order form sample has it setup where in designer it shows one row and then on the form it appears the table has three rows to start with.  How do I do that?  I looked at the code on the sample and I couldn't find it anywhere.  Please help, thanks.

    Hi,
    The first part is easy to set up. If you select the object and go to the Object > Field palette. There you can click on display pattern and insert a null pattern, like "Name".
    When the field doesn't have data, it will display "Name", but as soon as the user clicks in, this will automatically disappear.
    The slight glitch is that by default this 'caption in the field' has the same text style as the rawValue, typically Myriad, black 10pt.
    To achieve a grey, italic font to the null values, will require a little script.
    If you look at page 2 of this example you will see how I have set up the three fields on the right:
    http://www.assuredynamics.com/index.php/category/portfolio/laying-out-form-objects/
    Hope that helps,
    Niall
    Assure Dynamics

  • How to pass hidden field values on a click of a table row

    hi all,
    href = "bookAndNonBook.do"
    I am very new to struts. I have created a table using displaytable tag which displays results in a tabular format. In addtion, i have a hidden field (prodType), the table rows are getting highlighted when i get my mouse on a particular row.
    Following is the code from the results.jsp file
    <body
    onload="addRowHandlers('row', 'rowMouseOver')"
    bgcolor="#FFFFFF" text="#000000" leftmargin="100" topmargin="50"
    marginwidth="" marginheight="" rightmargin="30">
    <html:form action="/bookAndNonBook" method="post">
    <display:table name="sessionScope.productSearchList" id="row"
    sort="list" export="true" defaultsort="1" defaultorder="ascending"
    pagesize="15" decorator="org.displaytag.decorator.TotalTableDecorator"
    class="dataTable">
    <display:column property="prodType" title="ProdType" class="prodType"
    headerClass="prodType" media="html" />
    <display:column title="Title" property="titleName" sortable="true"
    class="title" headerClass="title" />
    </display:table>
    </html:form>
    </BODY>
    I am calling a funtion addRowHandlers which passes the table id (which is row) and the rowMouseover for highlighting the rows on mouse over.
    the code for function addRowHandlers is
    function addRowHandlers(tableId, rowClassName) {
    var previousClass = null;
    var table = document.getElementById(tableId);
    var rows = table.getElementsByTagName("tr");
    for (i = 1; i < rows.length; i++) {
    rows.onmouseover = function () {
    previousClass = this.className;
    this.className = this.className + " " + rowClassName ;
    this.style.cursor="hand";
    rows.onmouseout = function () {
    this.className = previousClass;
    this.style.cursor='';
    rows.onclick = function (){
    var cell = this.getElementsByTagName("td")[0];
    var ProdType = cell.innerHTML;
    alert("value of prodType = " + ProdType);
    when i run the above code and click on a particular row it returns me the value in the hidden field i.e. prodType for that particular row
    Now where i am having problem is i want that on the basis of prodType my jsp file should call different actions for different prodType as returned....somwhat a function like this
    function submitProduct(prodType) {
    if(prodType == "BK")
    resultsForm.action = "/bookProduct.do";
    else if(prodType == "NB")
    resultsForm.action = "/nonbookProduct.do";
    but i am unable to figure out that how do i this..
    Any help will be really appreciated
    Thanks
    Sam

    can you please suggest some good struts forums where i can post my question
    thanks in advance
    Sam

  • Table.rows.find() returns null in a table where the row exists.

    Hi...
    I am working in a Project in Visual Studio 2013 where I have to read an Excel report related with a list of business opportunities. Some of the Fields that are involved in it are:  Opportunity ID, BU, Account, close date, Account Manager,
    Total Value and so on. As soon as I get the conection with the Excel Report, I fill a DataTable and declare the columns [Opportunity ID] and [BU] as my Primary Keys.  In that way, an Opportunity value may have one o more rows
    with different BU code each of them.  In consequence, you can define one row in the table if you specify the [Opportunity ID] and the [BU] values.
    My problem starts when I try to get information of those rows that have an specific value of [Opportunity ID]. For that situation I make a "foreach" structure where I check the BU codes that are involved with that Opportunity. So
    I use the Find() Method to get the information of the row specified by the Opportunity ID and BU.  The first time it goes to find the information it gets the results successfully but in the next cycle changing just the [BU] using the same [Opportunity
    ID] value, the find() method returns a "null" and I do not know why because I am sure that the row exists in the table.  I have verified the "Unique" property for the  [Opportunity ID] and [BU] columns (which are
    my primary keys)  and they are in false which is OK.
    I share the code that I am using...
    Hope someone can help.
    Thanks.
    Alfmar.
    void ObtenTotalesxBUs(string Opportunity, string[] BUs, Object[] TotalBUs, Object[] ExpTotalBUs)
    ArrayList TotalesBUs = new ArrayList(); //Required information from the row.
    ArrayList ExpTotalesBUs = new ArrayList(); //Required information from the row.
    foreach(string businessUnit in BUs)
    Object[] LlaveBusqueda = { Opportunity, businessUnit }; //Provide values to the Primary Keys.
    DataRow RenglonInfo = null;
    RenglonInfo = TablaFunnel.Tabla.Rows.Find(LlaveBusqueda); //Find method receives the Primary Keys values. Here is where I have a "null" in return the second time changing just the [BU] field.
    TotalesBUs.Add(RenglonInfo["Total"]); //Get the required information from the row.
    ExpTotalesBUs.Add(RenglonInfo["Expected Total Value"]); //Get the required information from the row.
    TotalBUs = TotalesBUs.ToArray();
    ExpTotalBUs = ExpTotalesBUs.ToArray();}

    Hi Viorel..
    Thanks a lot for you help.
    I am absolutely sure that the second ítem of BU is valid and exist in the table because I tried to make a "Select" statement in the table providing the values of [Opportunity ID] and [BU] and I get the expected record. So, why is not
    working using Find() with the defined Primary Keys??? 
    I tried this in order to test that the record exists...
    if(RenglonInfo == null)
    string strSelect = "[Opportunity ID] = '0000218256' AND [BU] = 'SFW'";
    RenglonInfo2 = TablaFunnel.Tabla.Select(strSelect);

  • Report Generation Toolkit Table Row Height-MS Word

    I am having trouble setting the table row height in the report generation toolkit. I can set the column width fine, but the row height seems to remain the same no matter what I set it to. I have attached the VI that generates and formats the table, and the printout it is resulting in. I have also attached the template file I am using.
    Any tips to get this to work right? I am trying to make the cells exactly the same height as the text inside. 
    Solved!
    Go to Solution.
    Attachments:
    AddMarkersToReport.vi ‏20 KB
    badFormatting.pdf ‏179 KB
    splitter.docx ‏13 KB

    Hi,
    So I tried .2  and it didn't work.  So I went to Word to manually change it, and it did not work either.  There is a selection box in word, for the table properties, that seems to default to the value "at least".  When I changed this manually to "exactly" in word, no problem with the .2 manually in Word.
    Hopefully this can be set within the template, for all new inserted tables.  I'm not sure the report generator VI's expose this property.  Well, this is a start for the issue.
    Edit ****
    You can go into the add table VI and expose the property.  See pic.   However, you have to decide if you want to "upgrade" this VI permanently to expose this property or make a copy with the property exposed.   I haven't messed with the new class reports too much, so not sure of the ins and outs with this.
    I think this is the issue with the row size becoming smaller.
    Mark Ramsdale

  • Smartforms  how to print Table rows on to the next page automatically

    if this question is answered pls point to the the link
    SMART forms:
    layout :  Half of my A4 page is filled with templates, a small portion is footer, the middle portion is Table.
    Note: i have set the condition for the footer as (tick the check box) "only after end of main window"
    Output:
                       the template is displayed the table is populated on the first page, no footer on 1st page,
                    on page 2 the table rows are printed (table rows were a lot) and finally footer got printed every thing as per normal
    what i want is:
                     instead of the table lines printed in the middle of page 2 (bcz my main window table is in the middle, top is templates)
                     i want the table lines (after filling the main window table lines in the 1st page) to continue to print from the
                     top of the page on page 2 and immediately after the table rows finish. footer must be printed....
    what should i be doing to get this output

    dear bob,
    yes i have done that already as u said, when i do it......
    i created a new page (next page) directed first page to next page
    on the next page my layout is like below
    removed all the templates dragged the main window to the top of the page...... 
    when i check the result, there is an empty line as the first line in the table (2nd page)
    and also the footer (again a template) on the first page, which is ticked as ( print after end of main window) is NOT displaying.

  • Calling a Smart Form on Click of a Table Row..

    Hi All,
    I have one requirement.
    I have developed one applicaiton, in which from R3, the values are coming in form of a table. Now, on Click of a Table row, it should call a smart form developed in R3 for that selected row attribute. Also the smart form should open in a new window, so that user can take a print of it.
    How to add this new view and how to get the selected Row value ?
    Please help me.

    Hi,
    To open the new window, I have added blow code:
    IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("InfoPopup");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
    window.open();
    but, getting error message as : IWDWindowInfo cannot be resolved
    what should be the import parameter? Also please tell me how to search for the Import parameters for the respected attribute/code?
    Please help.

  • How to access Table rows in ADOBE form

    Hello Experts,
    I want to access the Table rows which are getting populated by WDA context, in form JavaScript when the table is populated.
    on the basis of few cell values i want to disable and enable particular cells in table rows when the table is rendered to the user.
    Please provide your inputs and suggestion on how to write a java script for it and in which event  i should write the script.
    i searched SDN and found couple of blogs and threads and tried using them but not working.
    Thanks,
    Siddharth

    Hello All,
    thanks for your suggestions.
    after some research and  trial and error i found the solution:here is the sample code for those who might face this issue.
    SUPERNODE(Root Node)
        --SUBFM(SUBFORM)
    MYNODE( Table)
    DATA(Table ROW)
    ADD       (Table COLUMNS)
    DELETE   (Table COLUMNS)
    var data1;
    var norows = xfa.resolveNodes("SUPERNODE.SUBFM.MYNODE.DATA[*]").length;
    for ( var i =0; i < norows; i++)
         if( xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].DELETE").rawValue == "")
        xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].DELETE").access = "readOnly";
        if( xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].ADD").rawValue != "")
        xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].ADD").access = "readOnly";

Maybe you are looking for

  • Save Query - An error occurred while creating connection strings for the query

    A workbook trying to edit and reload I get the following error "Save Query - An error occurred while creating connection strings for the query" No Power Pivot data model or anything.

  • How to enable iCloud Keychain for 3rd party apps?

    I came across iCloud Keychain, which if enabled, lets you backup keychain passwords and restore on other iOS devices. Also read that 3rd party apps can integerate iCloud Keychain to their apps in order to ensure that the app's keychain items are back

  • Recipe Box

    How do you print a recipe from Recipe Box.  Computer is not near my kitchen so not convenient to use on screen but I like the program. Also, is there a way to export recipes that are put in the Recipe Box to another program for use/printing if it is

  • I can't hear sounds from my ipad speaker

    I just bought Ipad mini last 2 weeks....since I have bought ...I can not hear sounds from speaker. It always shows "headphone" mode....Why? Technician tried to restore but not work....What is your suggestion? Thank you.

  • Load resource information before save

    We use dynamic tabbed user form to display user's multiple resource accounts. When we edit one resource account then save the change, validation error show up because other resource tabs have required field that are still blank. The reason for blank