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. Image for the cookie policy date

Removing the group drop area

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.



1 Reply

PK Prasanna Kumar Viswanathan Syncfusion Team 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



Loader.
Up arrow icon