Hi Sjoerd,
You can also try using the Bootstrap Multi Select widget https://appstore.home.mendix.com/link/app/2295/
Regards,
Roel
Sjoerd,
I'm not too familiar with this widget, but have you tried using the sort attribute? You can add an attribute of type integer, and number the days in the order you would like.
Edit: try using the data source as microflow, and returning the list the way you want it sorted. A list operation should do the trick.
Hi Austin,
Thanks for the reply, that was my first thought as well. I've added an index in order to get the sorting I want:
This works, until I select some items, then it always displays the "checked Items" first and thereafter it will use the Index again but I want to use the index all the time, regardless if items are checked or not.
Please report your issue here: https://github.com/mendix/SimpleCheckboxSetSelector/issues
You can edit the widget and disable line 300- 304 like this:
this._checkboxOptionsArray.sort(function (a, b) {
// if (a.checked && !b.checked) {
// return -1;
// } else if (!a.checked && b.checked) {
// return 1;
// }
return 0;
});