Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You should be able to do this within the confines of a dataView by adding a facet for "detail" and using collapsible detail. </p> <p>For the dataView, set collapsibleDetail="true", add in a panel to the detail facet, then put the elements you want to display when they click to expand in that panel.</p> <pre><code>&lt;xe:dataView id="dataView1" collapsibleDetail="true" detailsOnClient="true"&gt; &lt;xp:this.facets&gt; &lt;xp:panel xp:key="detail"&gt; &lt;xp:button id="Mybutton" value="My button"&gt;&lt;/xp:button&gt; &lt;xp:label value="This is the label" id="label1" for="Mybutton"&gt;&lt;/xp:label&gt; &lt;/xp:panel&gt; &lt;/xp:this.facets&gt; &lt;xe:this.summaryColumn&gt; &lt;xe:viewSummaryColumn columnName="lastname"&gt;&lt;/xe:viewSummaryColumn&gt; &lt;/xe:this.summaryColumn&gt; &lt;xe:this.extraColumns&gt; &lt;xe:viewExtraColumn columnName="city"&gt;&lt;/xe:viewExtraColumn&gt; &lt;xe:viewExtraColumn columnName="state"&gt;&lt;/xe:viewExtraColumn&gt; &lt;xe:viewExtraColumn columnName="zip"&gt;&lt;/xe:viewExtraColumn&gt; &lt;/xe:this.extraColumns&gt; &lt;xe:this.data&gt; &lt;xp:dominoView var="view2" viewName="ByName-First"&gt;&lt;/xp:dominoView&gt; &lt;/xe:this.data&gt; &lt;/xe:dataView&gt; </code></pre> <p>Now, I'm not positive on how to bind it to the contents of the documents displayed, but I'm sure there's a way. I know how to access the document in a repeat, but not in a dataView, so I would probably do it in a repeat (unless you figure it out and post it to us here!)</p> <p>Hopefully, that moves you in the right direction.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload