Jump to content

Recommended Posts

Posted

You can use a client side code (I didn't test it).

ClientEvents->ExtEvents->(added event):

function added(sender, container, index, eOpts)
{
  sender.store.setGrouper({
        groupFn: function (item) {
            return item.get('2')+ ' - '+ item.get('11');           
        },
       sortProperty: '2'
    });
}

Remember that Unigui uses the column index as the field name.

Posted

Thanks. 

I mean to change the font color and or the background color of the grouping row.

I read in your function is a way to order ? Because I found a problem with order descending, There is no way to order in descending, it seems like a library bug.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...