Face issue with Section Expandable

Face issue with Section Expandable

  

Hello Guys,

I have face issue using Section Expandable in out Systems. 

I want that,

1. After Expand Section, Records should display from database. 

2. If No Records found then expand Arrow should not display

How can i do in out systems using Section Expandable.

Thanks

1-Add one parent container 

2- type on the extended properties one class and this class encapsulated inside a if ( some list not empty)

3- then find the class of the arrow element

4- finally define the css class like

.classname .classelement {

   display:none;

}

Filipe Lourenço wrote:

1-Add one parent container 

2- type on the extended properties one class and this class encapsulated inside a if ( some list not empty)

3- then find the class of the arrow element

4- finally define the css class like

.classname .classelement {

   display:none;

}

Hello Filipe Lourenço,

Thanks you for giving helpful answer,

Can you give me demo oml application ?  

Thanks

Chirag Baroliya wrote:

Filipe Lourenço wrote:

1-Add one parent container 

2- type on the extended properties one class and this class encapsulated inside a if ( some list not empty)

3- then find the class of the arrow element

4- finally define the css class like

.classname .classelement {

   display:none;

}

Hello Filipe Lourenço,

Thanks you for giving helpful answer,

Can you give me demo oml application ?  

Thanks


Not now, I am in my phone. But which part that you didn't understand? You can add me in Skype . Search by zipzapduo

Hi Chirag,

You can use Container_ExpandCollapse widget present in RichWidget.

However, If you to put condition respect to functionality you achieve.

Sachin

Filipe Lourenço wrote:

1-Add one parent container 

2- type on the extended properties one class and this class encapsulated inside a if ( some list not empty)

3- then find the class of the arrow element

4- finally define the css class like

.classname .classelement {

   display:none;

}


Nice answer, I was thinking the same but I don't have any idea to put that selector inside the if condition.


Thanks,

Pankaj

Pankaj Pant wrote:

Filipe Lourenço wrote:

1-Add one parent container 

2- type on the extended properties one class and this class encapsulated inside a if ( some list not empty)

3- then find the class of the arrow element

4- finally define the css class like

.classname .classelement {

   display:none;

}


Nice answer, I was thinking the same but I don't have any idea to put that selector inside the if condition.


Thanks,

Pankaj

The if condition must be inside the expression. You set an extended property called class and then write something like if ( list not empty, "someclass","")


Sachin Mahawar wrote:

Hi Chirag,

You can use Container_ExpandCollapse widget present in RichWidget.

However, If you to put condition respect to functionality you achieve.

Sachin

Hello Sachin

I can't find any type of click event in  Container_ExpandCollapse widget
Records should not load with page load. Records should load when we click on expand.
how can i achieve?


Chirag   


Hi Chirag,

It's there in richWidgets under Interface tab. However, You have to write logic accordingly. For example If you want don't want to load data on preparation then you have to create a link.

We can also do this by Java script, I have already tried it. Let me know if you stuck anywhere I will share the sample with you.

Sachin

Sachin Mahawar wrote:

Hi Chirag,

It's there in richWidgets under Interface tab. However, You have to write logic accordingly. For example If you want don't want to load data on preparation then you have to create a link.

We can also do this by Java script, I have already tried it. Let me know if you stuck anywhere I will share the sample with you.

Sachin

Hi  Sachin Mahawar

Sure dear, Please send sample application. so it is very helpful for me.

Thank you sachin

Chirag

Hi Chirag,

Please find the attached sample oml. One more thing Expend Collapse is use to show or hide a div content, It's not a good practice to load data while click on expend link. I have avoided this in my example attached.

I hope, It may now solve your problem.

Sachin