- Home
- Forum
- Angular - EJ 2
- ComplexBinding Boolean Issue
ComplexBinding Boolean Issue
Hi,
There appears to be an issue with using boolean types for complex binding.
https://ej2.syncfusion.com/angular/documentation/query-builder/data-binding/#complex-data-binding
I'm unable to set the rules using setRulesFromSql.
For example I added BoolExample field:
this.columns1 = [
{ field: 'ID', label: 'ID', type: 'number'},
{ field: 'DOB', label: 'Date of birth', type: 'date'},
{ field: 'HireDate', label: 'Hire Date', type: 'date'},
{ field: 'Salary', label: 'Salary', type: 'number'},
{ field: 'Age', label: 'Age', type: 'number'},
{ field: 'Title', label: 'Title', type: 'string'},
{ field: 'BoolExample', label:'BoolExample', type: 'boolean', values: this.values}
]
Then I updated
onSetSqlRules(e:Event): void {
this.qryBldrObj.setRulesFromSql("Employee.ID = 0 AND Employee.BoolExample = false Name.LastName LIKE ('%malan%') AND (Country.State.City LIKE ('U%') AND Country.Region LIKE ('%c') AND Country.Name IS NOT EMPTY)");
}
I'm unable to get the query builder to show the selected false value.
Thanks,
Chris
SIGN IN To post a reply.
3 Replies
GK
Gayathri KarunaiAnandam
Syncfusion Team
October 6, 2021 03:07 AM UTC
Hi Chris,
We have checked your reported query. We can reproduce your reported issue in our end. So, we have logged this issue as a bug, and it will be available in our upcoming patch release which will be scheduled on October 20th,2021 and we appreciate your patience until then.
You can also track the status of this bug by using our feedback portal link below.
Please get back to us, if you need further assistance.
Regards,
Gayathri K
SS
Sarasilmiya Shahul Hameed
Syncfusion Team
October 8, 2021 04:53 AM UTC
Getting access denied when trying to access: https://www.syncfusion.com/feedback/29231/complex-data-binding-boolean-issue Which was provided in: https://www.syncfusion.com/forums/169401/complexbinding-boolean-issue
GK
Gayathri KarunaiAnandam
Syncfusion Team
October 12, 2021 02:11 AM UTC
Hi Sarasilmiya,
We have enabled the access to the below Feedback Portal link. Please check the below link.
Please check and get back to us, if you need further assistance.
Regards,
Gayathri K
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
CP Chris Persichetti
- Oct 4, 2021 04:42 PM UTC
- Oct 12, 2021 02:11 AM UTC