Skip to Content

How do I add custom sap.ui.core.html in a table cell of a xml view?

Dec 11, 2017 at 01:17 PM


avatar image


I want to add a custom div like this inside a cell of a table in sapui5 table (i am using xml views)

However when i try to add html under <cells> it fails , i am guessing the aggregation of cells does not allow. The namespace for html in my view is also present

  <ColumnListItem counter="0" id="item1">     
This throws an error : Neither view name/content nor an XML node is given

Could you please let me know how to achieve this.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sergio Guerrero Dec 11, 2017 at 01:35 PM
Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Sergio,

It works when i render it directly inside <content> tag with the correct namespace but it fails inside a cells tag of a table with the error. So wanted to know how specifically use it inside a cells tag