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. Image for the cookie policy date

Swimlanes Expand All/Collapse All

How can we achieve expand all/ collapse all functionality on Kanban swimlanes?


3 Replies

MS Muniappan Subramanian Syncfusion Team January 5, 2023 12:51 PM UTC

You can achieve your requirement by grouping the data collection using the “SwimlaneKey” from the WPF SfKanban. If no value is assigned to the SwimlaneKey mapped property in a task, then it will be grouped under the Unassigned swim lane. We have prepared the simple sample, please find the attached sample for the same,


Refer to our UG documentation to know more details about swim lanes in WPF Kanban,

https://help.syncfusion.com/wpf/kanban-board/swimlane


Attachment: WPFSfKanban_31592861.zip


MI Miftah January 5, 2023 02:08 PM UTC

Hi Muniappan,

To make my query clear, I've attached two snapshots below. I need to achieve expanding or collapsing all the swimlane headers at once programmatically. Current grouping by swimlaneKey only expands all swimlane headers at the change of the swimlanKey.

Thanks.


Attachment: all_swimlanes_expanded_and_collapsed_13429172.zip


SS SaiGanesh Sakthivel Syncfusion Team January 6, 2023 12:11 PM UTC

Miftah,

#Regarding Swimelane expand and collapse at programmatically

As per the implementation of SfKanban, there is no support available to expand or collapse the swimelane header programmatically.


Loader.
Up arrow icon