Skip to Content
author's profile photo Former Member
Former Member

TablePopin question

I have a table with a TablePopin, so that every row has its corresponding popin, and inside the Popin I have another table with details related to that row. (using tablePopinToggleCell)

The thing is when I run the application all popins are expanded! And I need them to be closed because there are a lot of rows in that table.

Leaving blank the table property 'SelectedPopin' it shows closed all the popins, but when I expand one the rest are expanded also!! (So actually I have them binded to a context attribute that has the name of the Popin, every time i insert a nodeElement I set that the name of the corresponding popin)

So basically I wan to know if its possible to have multiple popins, that are showed closed and let the user expand for itself everyone of them.

I hope i explained myself.

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 11:18 AM

    Alan,

    This works in a same way as any bindable UI control properties 😊

    Bind SelectedPopin to attribute of type String in node that is Table.dataSource. Then per very element for this attribute either set popin-name or null. So simple.

    Valery Silaev

    SaM Solutions

    http://www.sam-solutions.net

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      You could add a table column with LinkToAction, Button, ToggleButton or ToggleLink with an action that switches the value of the "selectedPopinID" attribute between "" and "<popin-ID>".

      This way you can expand/collapse the popin for each row by pressing this button.

      Armin

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 05:08 PM

    I solved my problem by setting popinName to "" in every element of the table.

    Thanks!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.