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.

Cards Order

Thread ID:

Created:

Updated:

Platform:

Replies:

130013 Apr 14,2017 09:58 AM Apr 19,2017 01:16 AM ASP.NET MVC 3
loading
Tags: Kanban
Cholet
Asked On April 14, 2017 09:58 AM

Hello,

I have a kanban, and i would like that cards stay where i put them. Currently they go to the top of the second column if they were near the top in the first column and they go to the bottom of the secund column if they were near the bottom of the first one.
Just like in this demo where i can't have card 1, then card 3, then card 2 : http://mvc.syncfusion.com/demos/web/kanbanboard/headertemplate

I found in your demo a exemple doing what i want but i don't understand wich part of the code is doing it. http://mvc.syncfusion.com/demos/web/kanbanboard/customizationandtooltip


Regards,

Cholet

Buvana Sathasivam [Syncfusion]
Replied On April 17, 2017 12:52 AM

Hi Cholet, 

Thanks for using Syncfusion product. 

In Kanban control, priority field has been mapped data source field to maintain cards priority. Based on card priority, drag and drop the card was aligned in the particular column. If you are not set priority, then card was aligned based on primary key. 

Please refer the following code, 

@(Html.EJ().Kanban("Kanban") 
   …… 
           .Fields(field => 
                  { 
                      field.Color("Type") 
                           .Content("Summary") 
                           .Priority("RankId"// Priority property 
                           .PrimaryKey("Id"); 
                  }) 
 ) 



Please let us know if you have any further assistance. 

Regards, 
Buvana S. 
 


Cholet
Replied On April 18, 2017 03:28 AM

Hello, 
It works.
Thank you !

Buvana Sathasivam [Syncfusion]
Replied On April 19, 2017 01:16 AM

  
Hi Cholet,  
 
Thanks for your update.  Let us know if you have any further queries, we would be happy to assist you.  
 
Regards,  
Buvana S.  
 


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.

;