Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


a role made from concatenating other roles. More...

Import Statement: import Felgo 3.0
Since: Felgo 2.18.1



Detailed Description

A JoinRole is a simple ProxyRole that concatenates other roles.

In the following example, the fullName role is computed by the concatenation of the firstName role and the lastName role separated by a space :

 SortFilterProxyModel {
    sourceModel: contactModel
    proxyRoles: JoinRole {
        name: "fullName"
        roleNames: ["firstName", "lastName"]

Property Documentation

roleNames : list<string>

This property holds the role names that are joined by this role.

separator : string

This property holds the separator that is used to join the roles specified in roleNames.

By default, it's a space.