You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a FastObjectListView with its custom Sort() defined within its VirtualListDataSource. The issue I'm facing is that even if I set the SortOrder of the FOLV to SortOrder.None, it will still attempt to sort in ascending order whenever any addition / deletion occurs.
I saw that insertion and deletion of objects will always attempt to sort and I followed the issue to this block of code:
When line 8358 executes, args.SortOrder will be set to SortOrder.Ascending even if the parameter order is set to SortOrder.None due to this block of code:
I have a
FastObjectListView
with its customSort()
defined within itsVirtualListDataSource
. The issue I'm facing is that even if I set theSortOrder
of the FOLV toSortOrder.None
, it will still attempt to sort in ascending order whenever any addition / deletion occurs.I saw that insertion and deletion of objects will always attempt to sort and I followed the issue to this block of code:
ObjectListView/ObjectListView/ObjectListView.cs
Lines 8357 to 8383 in 8a10cbd
When line 8358 executes,
args.SortOrder
will be set toSortOrder.Ascending
even if the parameterorder
is set toSortOrder.None
due to this block of code:ObjectListView/ObjectListView/ObjectListView.cs
Lines 4099 to 4103 in 8a10cbd
Therefore, execution will reach line 8378 and the CustomSorter will be provided a
SortOrder
of Ascending instead of None.The text was updated successfully, but these errors were encountered: