Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Button to hide and unhide rows in Adobe Livecycle

Avatar

Level 3

I have table in Adobe Livecycle I want button when I press to unhide two rows and if I need two more and .... And I need same button to hide two rows.

Thank you.

1 Reply

Avatar

Level 8

Use the 'presence' property. If your row is a static row (ie you see it in design time), then simply reference the name: myRow.presence="hidden" or myRow.presence="visible".

However, if it's a dynamic row (ie you add them at run time), then you have to reference the name of the row along with its index: myRow.all.item(3).presence="hidden". The index of a row is zero-based, that means the first row is 0 and in my example row 3 is the 4th from the top.

Kyle