How to Remove column collapsing function.

Hello, this is probably really easy to do, but i can't seem to figure it how. How can i remove the column collapsing functionality and the arrow on the kanban.
Any help will be appreciated, thank you.



3 Replies 1 reply marked as answer

SS Sridevi Sivakumar Syncfusion Team December 1, 2020 02:38 PM UTC

Hi Dodzi,

Greetings from Syncfusion.

We have analyzed the reported query and we don't have direct support to hide the expander icon. But we can achieve this by customizing the Kanban column header ColumnHeaderTemplate property. We have prepared a simple sample based on your requirement. Please have a sample from the below link.


https://www.syncfusion.com/downloads/support/forum/160182/ze/Sample-1768424966

Code snippet: 
             <syncfusion:SfKanban.ColumnHeaderTemplate> 
                <DataTemplate> 
                    <StackPanel Width="300" Height="40"  Background="Silver"> 
                        <TextBlock Margin="10" Text="{Binding  Header}" Foreground="Purple" HorizontalAlignment="Left"/> 
                    </StackPanel> 
                </DataTemplate> 
            </syncfusion:SfKanban.ColumnHeaderTemplate> 
 
Screenshot: 


Regards,
Sridevi S. 
 


Marked as answer

DO Dodzi December 3, 2020 03:57 PM UTC

thank you, this worked really well.


SJ Suyamburaja Jayakumar Syncfusion Team December 4, 2020 05:42 AM UTC

Hi Dodzi, 
 
We glad to know the given solution works, 
 
Please let us know if you need any further assistance. 
 
Regards, 
Suyamburaja J. 


Loader.
Up arrow icon