Hello. I'm using ListView component for displaying a list of items with checkboxes.
I want to show the users the items in alphabetical order and have all selected items on top.
I used the sortOrder="Ascending" property to achieve the sorting and then the groupBy: "isChecked" which is my flag.
It does group the data, although checked items (true) are shown in the bottom of the ListView while I want them on top.
Is there a way to change that and have true on top with false in bottom of the list? Maybe with groupTemplate property?
<ListViewComponent
ref={listItemRef}
select={args => listItemSelectHandler(args)}
id="itemsList"
dataSource={items}
fields={{ id: 'id', text: 'Description', groupBy: 'isChecked' }}
showCheckBox={true}
sortOrder="Ascending"
/>
Thank you in advance