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.
Syncfusion Feedback

Removing the group drop area

Thread ID:

Created:

Updated:

Platform:

Replies:

118090 Jan 30,2015 06:12 PM UTC Feb 2,2015 12:26 PM UTC JavaScript 1
loading
Tags: ejGrid
Aarffy
Asked On January 30, 2015 06:12 PM UTC

I need a grid that has grouping set by default in groupSettings and has no group drop area and no ability for a user to change the grouping.

Setting allowGrouping to false would seem to be the way. According to the docs it...

Gets or sets a value that indicates whether to enable dynamic grouping behaviour. Grouping can be done by drag on drop desired columns to grid’s GroupDropArea

But if I set allowGrouping to false, groupSettings won't work.



Prasanna Kumar Viswanathan [Syncfusion]
Replied On February 2, 2015 12:26 PM UTC

Hi Ellis,

Thanks for using Syncfusion Product

We have analyzed your query and we are happy to inform that we achieved your query by using a Create event of ejGrid. In this event, we remove the groupdroparea element as per your requirement.

Please find the below code snippet:

create: function(arg)

                {

                 $(".e-groupdroparea").remove();

                },

For your convenience we have created a sample and sample can be download from the below link:

Sample Link : http://www.syncfusion.com/downloads/support/directtrac/118090/GridSample-1742816345.zip

Please let me know if you have any queries,

Regards,

Prasanna Kumar N.S.V



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

;