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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 26, 2013 10:47 PM

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 03:21 AM

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 09:38 AM

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.

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.

;