Skip to Content
Former Member
Feb 02, 2016 at 09:10 AM

Custom group names using sap.m.Table in XMLView



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' } }">

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?