How to select the second operator by default?

How to select the second operator by default?



Image_3395_1695134524114


1 Reply

KV Keerthikaran Venkatachalam Syncfusion Team September 20, 2023 05:10 PM UTC

Hi Xu zhi bin,


We have checked your reported query, and you can use the operators property of the QueryBuilder component to achieve your requirements. Please refer to the below code snippet and sample.


<e-column field='EmployeeID' label='Employee ID' type='number' :operators="employeeOperators" />

                    <e-column field='FirstName' label='First Name' type='string' />

employeeOperators:  [

            { value: 'greaterthanorequal', key: 'Greater Than Or Equal' }

        ],


Sample Link: https://stackblitz.com/edit/ckjduq-onqdzx?file=src%2FApp.vue


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


Regards,

KeerthiKaran K V


Loader.
Up arrow icon