<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hiding table column with header dynamically in Adobe form in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-table-column-with-header-dynamically-in-adobe-form/m-p/11032106#M1898758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new adobe form, but the same scenario in case smart form i solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take that many line type and fill your internal table and in driver program &lt;SPAN style="font-size: 13.3333330154419px;"&gt;identify &lt;/SPAN&gt;condition i.e no of column will display &amp;amp; select row type and display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Demo Code.&lt;/P&gt;&lt;P&gt;row = 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;condition in line type if row = 8&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 06:51:34 GMT</pubDate>
    <dc:creator>SwadhinGhatuary</dc:creator>
    <dc:date>2015-03-30T06:51:34Z</dc:date>
    <item>
      <title>Hiding table column with header dynamically in Adobe form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-table-column-with-header-dynamically-in-adobe-form/m-p/11032105#M1898757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to hide a table column with header when there is no value in column..&lt;/P&gt;&lt;P&gt;The structure is like&lt;/P&gt;&lt;P&gt;Subform (TABLE)-&amp;gt; GT_FINAL (table which is displayed in the output)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the below code (JavaScript) in the initialize event of DATA of table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (this.rawValue == null) &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;this.parent.PROJECT.presence = 'hidden';&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is successfully hiding the rows of the table but header is still displayed. Below, the column PROJECT need to be hidden. After the above code, the cell under 'Project' is hidden and the amount field is shifted forward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/673457" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me how can I hide column header as well. I have already referred to many posts on hiding the columns. however, it does not seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 12:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-table-column-with-header-dynamically-in-adobe-form/m-p/11032105#M1898757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-27T12:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding table column with header dynamically in Adobe form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-table-column-with-header-dynamically-in-adobe-form/m-p/11032106#M1898758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new adobe form, but the same scenario in case smart form i solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take that many line type and fill your internal table and in driver program &lt;SPAN style="font-size: 13.3333330154419px;"&gt;identify &lt;/SPAN&gt;condition i.e no of column will display &amp;amp; select row type and display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Demo Code.&lt;/P&gt;&lt;P&gt;row = 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;condition in line type if row = 8&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 06:51:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-table-column-with-header-dynamically-in-adobe-form/m-p/11032106#M1898758</guid>
      <dc:creator>SwadhinGhatuary</dc:creator>
      <dc:date>2015-03-30T06:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding table column with header dynamically in Adobe form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-table-column-with-header-dynamically-in-adobe-form/m-p/11032107#M1898759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Richa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can look at the below link for more details. Maybe this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="3362425" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="Hiding a table column for a particular condition" href="https://community.sap.com/" modifiedtitle="true" title="Hiding a table column for a particular condition"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jagraj Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 12:14:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-table-column-with-header-dynamically-in-adobe-form/m-p/11032107#M1898759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-30T12:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding table column with header dynamically in Adobe form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-table-column-with-header-dynamically-in-adobe-form/m-p/11032108#M1898760</link>
      <description>&lt;P&gt;I have the same problem &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 18:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-table-column-with-header-dynamically-in-adobe-form/m-p/11032108#M1898760</guid>
      <dc:creator>former_member676782</dc:creator>
      <dc:date>2020-05-05T18:57:20Z</dc:date>
    </item>
  </channel>
</rss>

