Control toggling of the swim lanes from the code behind

Hi Syncfusion,

I am using ASP.NET Core/Razor, C# and trying to achieve the following two tasks, I wonder if you can help? I have searched and tried my best but no luck so far.

Basically, in the following example link (Syncfusion kanban Swimlanes Example) I want to control the toggling of the swim lanes from the code behind.

Task 1) When loading, I want all but the top swim lane headers to be collapsed. In the above example, I would like to see the cards for ‘Andrew Fuller’ only, and, the group of cards for ‘Janet’, ‘Nancy’ and ‘Unassigned’ to be hidden (collapsed). If the user wishes to see the cards, for example, for ‘Janet’, they can do so by clicking relevant > button (next to the name) as per usual.

Task 2) How to collapse a swim lane when all cards are, for example, in the ‘Done’ column? Again, using an example from the above link, assume Andrew Fuller has all his cards in the ‘Done’ column except the last one, which is in ‘In Progress’. This morning he drags and drops his last card from ‘In Progress’ to ‘Done’ column. At this point, I want to give him, say 10 seconds, to appreciate his effort and then automatically collapse the column using some lo(ma)gic from the code behind?

Can you help me achieve this two tasks?

Thanks

Michael


7 Replies 1 reply marked as answer

BS Balasubramanian Sattanathan Syncfusion Team June 15, 2020 12:17 PM UTC

Hi Michael, 
 
Greetings from Syncfusion Support. 
 
We have validated your reported scenario “Control toggling of the swim lanes from the code behind” at our side. Currently, we are preparing the sample based on your reported scenario and will update the further details soon.  
 
Meanwhile, we suggest you to use our EJ2 Kanban for the better UI experience. For more reference kindly refer the below links 
 
 
Please let us know if you need further assistance. 
 
Regards, 
Balasubramanian S 



MI Michael June 15, 2020 12:22 PM UTC

Hi Balasubramanian,

Thank you for your quick response. 

I will wait for your update and will take a look at your suggestions in the meantime.

Thanks

Michael


VM Vengatesh Maniraj Syncfusion Team June 16, 2020 10:10 AM UTC

Hi Michael, 

Thanks for the update. 

As we mentioned in the last update, we are preparing the sample and we will update you once it is done. We appreciate your patience until then. 

Regards, 
Vengatesh 



MI Michael June 28, 2020 09:45 PM UTC

Hi guys,

Any update on this?

Thanks

Michael


VM Vengatesh Maniraj Syncfusion Team July 2, 2020 07:33 AM UTC

Hi Michael, 

Sorry for the delay. 

We have prepared the sample based on your 2 tasks by making use of dragStop and dataBound events. And the sample can be available in the below link. 


Kindly check the above sample and get back to us if you need any further assistance. 

Regards, 
Vengatesh  


Marked as answer

MI Michael July 6, 2020 07:15 AM UTC

Hi Vengatesh,

Thanks for the update. I will take a look and will update you.

Thanks again


VM Vengatesh Maniraj Syncfusion Team July 8, 2020 03:09 AM UTC

Hi Michael, 

Thanks for the update. 

Please get back to us if you need any further assistance.  

Regards, 
Vengatesh  


Loader.
Up arrow icon