249
Views
3
Comments
Solved
To Expand Collapse
Question
Application Type
Reactive

I have a List , Inside the List Item am having Block.

To show the master detail like Expand / collapse.

My requirement is when i clicked on one item , its should be expand and if i click on other item, other items will expand and previous items should be collapse.

In the master list structure , i have added one attribute IsExpand.

On the Basis of IsExpand am able to expand / Collapse it working fine.

But i needs when i clicked other items, then it should collapse previous expanded items and 

new item list should expand.  

Please help me.

2024-01-16 11-36-22
Balaji Vinayagamoorthi
Solution

Hi Ashish,

Please find the sample attached oml for your reference. I'm just comparing the current row number with the whole list and based on this, expand and collapse will work.

Thanks

Balaji

ExpandCollapseSample.oml
2024-04-15 11-41-04
Porselvan Gnanavelu

Hi,

Try with Accordian.

2024-03-15 07-22-55
Ashish Kumar Srivastava

my requirement is like that i have to use List and and list item have a Block which display a list with add edit items.

At a time only one item list should expend and all other collapse.

Any way thanks.

2024-01-16 11-36-22
Balaji Vinayagamoorthi
Solution

Hi Ashish,

Please find the sample attached oml for your reference. I'm just comparing the current row number with the whole list and based on this, expand and collapse will work.

Thanks

Balaji

ExpandCollapseSample.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.