mirror of
https://github.com/status-im/SortFilterProxyModel.git
synced 2025-02-21 15:18:08 +00:00
Update README.md
This commit is contained in:
parent
e5b90a47df
commit
25b506a3d7
@ -90,9 +90,9 @@ Here the `ListView` will only show elements that contains the content of the `Te
|
||||
}
|
||||
]
|
||||
sorters: [
|
||||
RoleSorter { roleName: "favorite"; ascendingOrder: false },
|
||||
RoleSorter { roleName: "firstName" },
|
||||
RoleSorter { roleName: "lastName" }
|
||||
RoleSorter { roleName: "favorite"; sortOrder: Qt.DescendingOrder },
|
||||
StringSorter { roleName: "firstName" },
|
||||
StringSorter { roleName: "lastName" }
|
||||
]
|
||||
}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user