No Priority property in CardSettingsModel in @syncfusion/ej2-angular-kanban version 18.2.54

I would like to sort my cards in the kanban board on drag and drop and in the documentation, there appears to be a property named priority in the CardSettingsModel that is meant for this, but it apparently does not exist in this model in the Angular version of the product.  Is this just a bug in the current version of this product or am I missing something?

export interface CardSettingsModel {
    showHeader?: boolean;
    headerField?: string;
    contentField?: string;
    tagsField?: string;
    grabberField?: string;
    footerCssField?: string;
    template?: string;
    selectionType?: SelectionType;

}

1 Reply 1 reply marked as answer

BS Balasubramanian Sattanathan Syncfusion Team August 24, 2020 09:41 AM UTC

Hi Jeffrey Craig, 

Greetings from Syncfusion Support. 
 
We have validated your reported scenario “No Priority property in CardSettingsModel in @syncfusion/ej2-angular-kanban version 18.2.54” at our side and let you know that the priority property has been deprecated from version 18.2.44. So we would suggest you to an alternative way to prioritize the cards by making use of the sortSettings. Kindly refer to the below links for more details. We have prepared a sample based on your requirement by using the below code snippet for your reference.  
 
public sortSettings: SortSettingsModel = { 
  sortBy: 'Index', 
  field: 'RankId' 
} 
 
 

Kindly try the above solution and let us know if this is helpful. 

Regards, 
Balasubramanian S 


Marked as answer
Loader.
Up arrow icon