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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeGrid: adding and removing columns

Thread ID:





121218 Nov 19,2015 10:40 AM UTC Nov 20,2015 09:45 AM UTC ASP.NET Web Forms 1
Tags: TreeGrid
Jorge Pampin
Asked On November 19, 2015 10:40 AM UTC


How to add and remove columns by javascript?


Dinesh Kumar Nagarathinam [Syncfusion]
Replied On November 20, 2015 09:45 AM UTC

Hi Jorge,

We can add a new column or remove an existing  column by using “Load” client side event of TreeGrid during load time. Also by the using the header text of the column we can enable or disable the visibility of a column with the public methods “showColumn” and “hideColumn”, and we can do the same by enabling column chooser in TreeGrid.

We have prepared a sample based on your requirement, find the sample from below location.

Sample: http://www.syncfusion.com/downloads/support/forum/121218/ze/ShowHide_column1156592501

Please let us know, if you need further assistance on this.


Dinesh kumar.N


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon