Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Removing a table row when the cells are empty?

Avatar

Level 2

I have a dynamic table with add/remove buttons, and I want to make any empty rows automatically delete in the validation process. However, when I use this._Row1.removeInstance(x) (x is gotten from previous data) it doesn't remove the row. It does however seem to delete the data in that row.

How can I make it delete the actualy row?

And in case you're wondering, the process to determine whether the row is beind detected as being empty is working properly.

Thanks.

3 Replies

Avatar

Level 10

It's hard to say without seeing the form. Can you share your form via acrobat.com or another file sharing service?

Avatar

Level 2

You can view the file here: http://minus.com/lbnkGgqklLa9vj

If it doesn't load, just hit the download button.