How to set nested table bydefault open?

Confluence User - 30 Jun, 2024

As you can see in first image all nested table is closed.



I want to default open.

APPTestNestedDatalist.jwa


Thank You!

database

4


02 Jul, 2024
confluenceUser
confluenceUser

Hi there,

Please see adjusted sample app : 

APP_Online_Gaming-1-20240702025922.jwa

You can achieve this by adding this code in the form builder

<script>
    $(document).ready(function(){
        $('iframe#iframeLoanedItems').load(function(){
            $('.nesteddl_trigger', $('iframe#iframeLoanedItems').contents()).trigger('click');
        })
    })
</script>




Thanks!

02 Jul, 2024
confluenceUser
confluenceUser

Hello Ahmad,

Thanks for your support.

I used provided script but it's not working.

Still all nested row not opening by default.



Thank You!

02 Jul, 2024
confluenceUser
confluenceUser

Hi Sagar, 

have you downloaded the sample app?
this is the result it will open all the nested list by default. :

02 Jul, 2024
confluenceUser
confluenceUser

oh! I am using joget 7.

Might be the reason.


RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print