Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

UI5 Filter issue

$
0
0

Hi all,

 

after reading and practicing about filters ( thanks a lot for this sample ), there is something i do not understand.

 

With this sort of XML :

<root>     <node name="1">          <property/>               ....          <property/>          <node name="2">               <property/>                        ...               <property/>               <node name="3">               </node>          </node>     </node></root>

When i'm using :

var oFilter2 = new sap.ui.model.Filter("property",sap.ui.model.FilterOperator.NE,"");

The resulting tree is composed of root, node named 1 and 2 but not the 3rd?

 

Can somebody help me to find the filter(s) to achieve building the tree without properties?

 

Ps: when i add a "<property/>" to the 3rd node, it works, but i cannot modify the XML

 

Thanks,

regards,

Marc


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>