- Home
- Forum
- Angular - EJ 2
- Query Builder: how to remove or disable 'Add Group" button ?
Query Builder: how to remove or disable 'Add Group" button ?
SIGN IN To post a reply.
4 Replies
SI
Silambarasan I
Syncfusion Team
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.
Regards,
Silambarasan
VK
Vinoth Kumar Sundara Moorthy
Syncfusion Team
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,
HTML
|
<ejs-querybuilder #querybuilder class="row" width="70%" [dataSource]="dataSource" [showButtons]="showButtons" [rule]="importRules" (created)="createdControl()">
<e-columns>
//..
</e-columns>
</ejs-querybuilder> |
TS
|
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?
Regards,
Vinoth Kumar S
VI
Viktor
April 4, 2019 07:01 AM UTC
super!
it looks really great! :)
you can close the issue!
thanks!
thanks!
viktor
VK
Vinoth Kumar Sundara Moorthy
Syncfusion Team
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.
Regards,
Vinoth Kumar S
SIGN IN To post a reply.
- 4 Replies
- 3 Participants
-
VI Viktor
- Feb 17, 2019 07:23 PM UTC
- Apr 4, 2019 10:30 AM UTC
