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
Please specify what version of the library you are using: [1.12.0]
I am using the PropertyFieldCollectionData control and have a list of items set up for the collectionData. When I display the collection data the order is random and not same as shown in the control popup. I tried adding a number field but it allows for duplicate values and I couldn't attach any event listeners to the field.
I'm looking for something similiar as the custom sort order in SharePoint term store.
My question is that is it possible to have/create a sorting field for the PropertyFieldCollectionData control and if yes, how could it be done?
The text was updated successfully, but these errors were encountered:
@jesseve this has now be implemented and will be available with the v1.13.0 release. Feel free to test out the latest beta to see if it fit your needs. More information about installing a beta version can be found here: https://sharepoint.github.io/sp-dev-fx-property-controls/beta/
To give you more information, every item will get a sortIdx field. So you can add your own sorting actions based on if you want to sort your items asc. or desc.
To enable sorting for the collection data control, you will have to set enableSorting: true on the control.
[X] Question
Version
Please specify what version of the library you are using: [1.12.0]
I am using the PropertyFieldCollectionData control and have a list of items set up for the collectionData. When I display the collection data the order is random and not same as shown in the control popup. I tried adding a number field but it allows for duplicate values and I couldn't attach any event listeners to the field.
I'm looking for something similiar as the custom sort order in SharePoint term store.
My question is that is it possible to have/create a sorting field for the PropertyFieldCollectionData control and if yes, how could it be done?
The text was updated successfully, but these errors were encountered: