title: Traverse results in TreeTable binding - SAP UI5
body: <p>I have an XML view with <code>TreeTable</code>. The binding is with an oData which returns something like <code>results--&gt;</code> then in every result something called as "ABC" which is in itself an array. </p>
  
  <p>In my table I want to display the <code>results--&gt;</code> fields for parent and for the row ( which does not have child). For the child rows, need to display, <code>results--&gt; ABC --</code>> then the property binding. But, the way I did coding, it works fine for rows that have children (parent and child binding is fine) but for rows without children also some controls are being made visible. I am not sure how to set visible syntax. </p>
  
  <p><strong>XML View</strong>:       </p>
  
  <pre><code>&lt;table:TreeTable rows="{path:'List&gt;/results', parameters:{arrayNames:['ABC']}}"  &gt;
          &lt;table:Column id="t1" width="200px"&gt;                                
            &lt;Label text="Column1"/&gt;
            &lt;table:template&gt;
              &lt;HBox&gt;    
                //want to make visible only for parent and the row which does not have child    
                &lt;Text text="{path: 'List&gt;', formatter: '.formatCoumn1'}"  visible="{= !${List&gt;?????}}"/&gt;              
                //want to make visible only for child row     
                &lt;DatePicker value="{List&gt;ExpiryDate}" visible="{List&gt;?????}"/&gt;                                            
               &lt;/HBox&gt;
           &lt;/table:template&gt;
          &lt;/table:Column&gt;
  </code></pre>