Query Builder - DropDownTree disable parent selection

Hello,

When using the Query Builder with the fieldMode as DropDownTree, is it possible to disable selection of a parent within the dropdown? I see there is a way to do it when using just the DropDownTree control, but what about through the Query Builder?

Thank you,

KS


3 Replies

KV Keerthikaran Venkatachalam Syncfusion Team August 4, 2023 12:23 PM UTC

Hi Ks,


We have checked the reported query, and by default, in the complex data binding sample of Querybuilder, we have prevented the selection of the parent item and only allowed the child item to be selected. Kindly refer to the below sample link.


Sample Link: https://stackblitz.com/edit/angular-krxs7k-l3bcui?file=src%2Fapp.component.ts


Get back to us if you need any further assistance on this.


Regards,

KeerthiKaran K V



KS KS January 23, 2024 06:19 PM UTC

Hello,

Has something happened to this in one of the latest versions? We are now on 24.1.44, and the parent options within the field dropdown are now allowing selection and attempting to select operators and values (which throws errors), even though they are not supposed to.

Image_7442_1706033939467

Is this something we can reenable?

Thank you,

KS



KV Keerthikaran Venkatachalam Syncfusion Team January 24, 2024 11:10 AM UTC

Hi KS,


We have attempted to replicate the issue on our end but were unable to do so. We have prepared the sample based on your provided details. It is working fine on our end. I have attached the sample for reference.


Sample link: https://stackblitz.com/edit/angular-krxs7k-7wzzek?file=src%2Fapp.component.ts 


For further validation, could you please share the issue's replicable working sample or replicate the issue in our sample with replication steps and a video demonstration? Based on that, we will check and provide you with a better solution quickly.


Please let us know if you need any further assistance on this.


Regards,

KeerthiKaran K V


Loader.
Up arrow icon