Current Position:Home > Merging of cells of a dynamic table in adobe form

Merging of cells of a dynamic table in adobe form

Update:10-11Source: network consolidation
Advertisement
Hi,
I am trying to Merge 2 columns in a dynamic table in adobe form.The requirement is to merge column 3 and column 4 if column 4 is empty. I used the below javascript code in both "Form ready " and Initialize event of the row.
if (this.Cell4.rawValue == " ")
this.Cell3.colSpan = "2";
this.Cell4.presence = "hidden";
Note : Since above code was not working , i used the below code in my subform also but it did not returned desired output.
if(Table22.Row1.Cell1.rawValue == " ")
Table22.Row1.Cell3.colSpan = "2";
Table22.Row1.Cell4.presence = "hidden";
The problem is that in my dynamic table , its the second row where the requirement is fulfilled ie in the 2nd entry of my table the column4 is blank (the exact row number might change depending on input data).
is there a way to loop in the dynamic table and check if column 4 is empty for a particular row.
the above code does not help to fulfill my requirements. kindly help.
Thanks
Aditi

The Best Answer

Advertisement
Hello Aditi priya,
Hope you are doing good..
Please go through my recent blog..
http://scn.sap.com/community/interactive-forms-by-adobe/blog/2015/01/02/merging-internal-table-cells-dynamically-in-sap-adobe-forms-using-java-script-code
I hope you will find all answers from this blog..Reward if helpful...
Thanks & Regards,
B Raghu Prasad
  • Merging of cells of a dynamic table in adobe form Update:10-11

    Hi, I am trying to Merge 2 columns in a dynamic table in adobe form.The requirement is to merge column 3 and column 4 if column 4 is empty. I used the below javascript code in both "Form ready " and Initialize event of the row. if (this.Cell4.ra

  • Select all instances of cells form a dynamic table Update:11-30

    HI, I've an issue with a table. I've found some answers here : http://forums.adobe.com/thread/849841 but don't work. Let me explain. I've got a dynamic table (with addInstance button and remove one). There is 4 columns: 2 open and 2 readOnly. Some us

  • How to populate dynamic table in Adobe Livecycle form with cfpdfform? Update:10-11

    Hello all, after two days search on the above topic without results I hope someone here can help me. The problem: I have an Adobe PDF form created with Adobe Livecycle Designer that has a dynamic table inside it. The table Table1 consists of a Header

  • Dynamic Table in adobe inter-active forms Update:10-11

    Hi Gurus, I have dragged and dropped Dynamic table in body page and Header data placed in Master page. Now my problem is the data is not going to the next pages. Kindly pls tell me the way so that my data will appear in next pages. Regards, SriniHi,

  • How to pass the data of the dynamic table into internal table Update:11-30

    Hi all, I had designed an Dynamic table in my Online Interactive form. I am able to pass only the First row data into the internal table which i had created Now how can i pass  data of all the rows  into the  internal table. Needed some coding help T

  • Looping through table in ADOBE TABLE...HOW? Update:11-30

    Hi, I'm having a problem with writing scripts on looping through a dynamic table in adobe and disabling certain cell in the table. can some one write me the script to help me out...please.... here is my email add. [email protected] Regards, VinodHi D

  • How to give color of particular cell in alv list display for dynamic table Update:10-11

    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.     

  • In Web Dynpro ABAP, Can we merge two cells of a row in a table ? Update:10-11

    In Web Dynpro ABAP, Can we merge two cells of a row in a table ?Hallo Jagannatha, the new table feature is available in SAP NetWeaver 7.0 EhP2 (SAP ERP 6.0 EhP5, SAP Business Suite 7i2010) named 'TableMultiEditorCell'. See [SAP Online Help|http://hel

  • Dynamic Table UI Element with different data type for each cell Update:10-11

    Hi Experts, I have a problem with a dynamic Table UI Element in Web Dynpro ABAP. I have the following coding: METHOD set_col_row .   TYPE-POOLS: icon.   DATA:     lv_node         TYPE REF TO if_wd_context_node,     lv_node_info    TYPE REF TO if_wd_c

  • Dynamic Creation of cells or change of cell behaviour of a table at runtime Update:10-11

    Hello all, Can anybody tell me how can we change the cell behaviour of a table at runtime or creating the table row with different cell properties dynamically at runtime in ABAP webdynpro. for ex the table at runtime can be like... The 1st row the 1s