We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How do I get the order of the cards within a column

Thread ID:

Created:

Updated:

Platform:

Replies:

132698 Sep 15,2017 03:20 PM Sep 18,2017 07:08 AM ASP.NET MVC 1
loading
Tags: Kanban
Sam Tran
Asked On September 15, 2017 03:20 PM

Hi,

It's probably in your documentation somewhere, but I couldn't find it.

When a user moves a card within one column or moves a card from one column to another, I need it to stay in the proper order.
I have a column in my DB to maintain the order of the cards, but I couldn't find in your doc how to get the order of all the items in a column.
Thanks.

Arun Palaniyandi [Syncfusion]
Replied On September 18, 2017 07:08 AM

Hi Sam Tran,  
 
Thanks for using Syncfusion product.  
 
In Kanban control, priority field has been mapped in data source field to maintain cards priority. Based on card priority, drag and drop of the card was aligned in the particular column. If priority is not set priority, then cards are aligned based on primary key.  
 
Please refer the following code,  
 
@(Html.EJ().Kanban("Kanban")  
   ……  
           .Fields(field =>  
                  {  
                      field.Color("Type")  
                           .Content("Summary")  
                           .Priority("RankId")   //use priority property 
                           .PrimaryKey("Id");  
                  })  
 )  
 
Please refer the following API document: https://help.syncfusion.com/api/js/ejkanban#members:fields-priority   
 
 
 
 
 
Please let us know if you need any further assistance.  
 
Regards,  
Arun P.  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;