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

Query Builder: how to remove or disable 'Add Group" button ?

Thread ID:





142735 Feb 17,2019 07:23 PM UTC Apr 4,2019 10:30 AM UTC Angular - EJ 2 4
Tags: Query Builder
Asked On February 17, 2019 07:23 PM UTC

is it possible somehow to remove/disable "Add Group" item (see screenshot below)?

Silambarasan I [Syncfusion]
Replied On February 18, 2019 05:20 PM UTC

Hi Viktor, 
Thank you for contacting Syncfusion support. 
We have checked your reported query and currently, we don’t have a built in option to remove/disable the ‘Add Group’ item in EJ2 QueryBuilder. However, we have prepared a sample level solution to achieve this requirement.  
In that, we have faced an issue with the sample level solution. On further analysis, we confirmed this as a defect and logged a defect report. The fix for this issue will be included in our Essential Studio 2019 Volume 1 release which has been scheduled to be rolled out in the mid of March, 2019. 
We will update you the sample once released, and we appreciate your patience until then. 

Vinoth Kumar Sundara Moorthy [Syncfusion]
Replied On April 3, 2019 05:47 PM UTC

Hi Viktor, 
We are glad to announce that our Essential Studio Volume 1, 2019 release (v17.1.0.38) is rolled out. Now you can enable or disable the ‘Add Group’ item in QueryBuilder using ‘ShowButtons’ settings. Please check the below code snippet, 
<ejs-querybuilder #querybuilder class="row" width="70%" [dataSource]="dataSource" [showButtons]="showButtons" [rule]="importRules" (created)="createdControl()"> 
export class DefaultQueryBuilderComponent { 
    public showButtons: Object = { groupInsert: false, groupDelete: true, ruleDelete: true} 
Could you please check the above sample and get back to us if you need any further assistance on this? 
Vinoth Kumar S 

Replied On April 4, 2019 07:01 AM UTC

it looks really great! :)
you can close the issue!

Vinoth Kumar Sundara Moorthy [Syncfusion]
Replied On April 4, 2019 10:30 AM UTC

Hi Viktor, 
You are most welcome. Please feel free to contact us if you need any further assistance on our Syncfusion components. 
Vinoth Kumar S 


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

Live Chat Icon For mobile
Live Chat Icon