Unable to remove specific row from a table | Community
Skip to main content
Level 2
September 14, 2021
Solved

Unable to remove specific row from a table

  • September 14, 2021
  • 1 reply
  • 594 views

Hello everyone,

 

Currently, I'm having issue trying to delete the first row of a table when the form is initialized (I tried hidding the row, but I would like to remove the row from the table). This is the row which I would like to remove as soon as the form is previewed: 

This is the code I'm using when the field PartNumber is initiliazed, but the line ResultRow.instanceManager.removeInstance(ResultRow.instanceIndex) is not removing the row:

I tried putting the rule when the root panel is initialized, but is not working as well:

Please let me know if you have any questions regarding my issue.

 

Thanks in advance

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kishore_Kumar_

Hi @sebasrios ,

 

Please raise this question in AEM Forms community for an expert advise.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/ct-p/adobe-experience-manager-forms-community

1 reply

Kishore_Kumar_
Kishore_Kumar_Accepted solution
Level 9
September 14, 2021