on 02-02-2016 9:10 AM
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?
I found solution. I just needed dot before customGroupName.
<m:Table items="{ path: '/CUSTOMCONTENT', sorter: { path: 'STATUSCONTENTID', group: '.customGroupName' } }">
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.