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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can we delete a column in ASP.NET MVC Syncfusion grid?

Thread ID:

Created:

Updated:

Platform:

Replies:

108537 Apr 26,2013 05:10 AM UTC May 3,2013 01:38 PM UTC ASP.NET MVC (Classic) 3
loading
Tags: Grid
Kedar Kodlapur
Asked On April 26, 2013 05:10 AM UTC

Hi,
On right click of a column of a grid how to give an option to delete the same from the grid?

Rakesh D [Syncfusion]
Replied On April 27, 2013 02:47 AM UTC

Hi Kedar,

 

Thank you for your interest in Syncfusion products.

 

Query : Can we delete a column in ASP.NET MVC Syncfusion grid?

 

To achieve your requirement we suggest you to use context Menu feature of Grid. To enable context menu call EnableContextMenu() method. Please refer below code snippet for further details.

 

[ cshtml ]

 

@(Html.Syncfusion().Grid<Student>("GenericListGrid")

    .Datasource(Model)

    .EnableSorting()

    . . . .

    .EnableContextMenu()

   )

 

For your convenience we have prepared a sample for the above scenario and it is attached below. Please refer to it.

 

Please let us know if you have any concerns.

 

Regards,

Rakesh D

 

 



Context Menu Grid_1bc4e4bd.zip

Kedar Kodlapur
Replied On April 29, 2013 07:21 AM UTC

There is no option to delete the column in the example which you sent.
I can only hide.
Please tell me how to delete permanently?

Rakesh D [Syncfusion]
Replied On May 3, 2013 01:38 PM UTC

Hi Kedar,

 

Thanks for your interest in Syncfusion products.

 

Query : Can we delete a column in ASP.NET MVC Syncfusion grid?

 

We have provided response to your query in the incident 107501. Could you please follow up with the incident.

 

Please let us know if you have any queries.

 

Regards,

Rakesh D

 


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.

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

;