Skip to Content
avatar image
Former Member

Help for a Tree table with XML model

Hi experts,

My requirement is to create a SAP UI5 tree table (JS views) with the below features:

1. using 'XML data model' or 'by converting XML model to JSON model (any conversion libraries of SAP specific library (like jQuery) name with example)'

2. Type in search to filter the node available in the tree table. (there will be a separate text box in the UI to filter)

It would be great if someone can help me on this with a demo code in JSBin/plunker/any open source code platform as soon as possible.

XMLData:<?xmlversion="1.0" encoding="utf-8"?><Rowsets><Rowset><Row><ServiceCode>Code123</ServiceCode><Item>Item010</Item><ItemDesc>---</ItemDesc><Level1>OutlineLevel1</Level1><Level1Desc>abc</Level1Desc><Level2>OutlineLevel2</Level2><Level2Desc>xyz</Level2Desc><Level3>---</Level3><Level3Desc>---</Level3Desc><Level4>---</Level4><Level4Desc>---</Level4Desc><ServiceCode>Code123</ServiceCode><Item>Item010</Item><ItemDesc>---</ItemDesc><Level1>OutlineLevel1</Level1><Level1Desc>---</Level1Desc><Level2>---</Level2><Level2Desc>---</Level2Desc><Level3>---</Level3><Level3Desc>---</Level3Desc><Level4>---</Level4><Level4Desc>---</Level4Desc><ServiceCode>Code456</ServiceCode><Item>Item010</Item><ItemDesc>---</ItemDesc><Level1>OutlineLevel1</Level1><Level1Desc>abc</Level1Desc><Level2>OutlineLevel2</Level2><Level2Desc>xyz</Level2Desc><Level3>---</Level3><Level3Desc>---</Level3Desc><Level4>---</Level4><Level4Desc>---</Level4Desc></Row></Rowset></Rowsets>

Thanks,

Venky

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers