cancel
Showing results for 
Search instead for 
Did you mean: 

Custom group names using sap.m.Table in XMLView

Former Member
0 Kudos

Hello,

I'm making a table with items grouped by status. I need to switch that status for specific name but I can't call function inside XMLView.


<m:Table items="{ path: '/CUSTOMCONTENT', sorter: { path: 'STATUSCONTENTID', group: 'customGroupName' } }">

     ...

</m:Table>

I found that I need to put function name into group attribute, but it looks like that customGroupName must bet global function. It is possible to define customGroupName inside controller or models.js?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I found solution. I just needed dot before customGroupName.


<m:Table items="{ path: '/CUSTOMCONTENT', sorter: { path: 'STATUSCONTENTID', group: '.customGroupName' } }">

Answers (0)