How can I get the value of Syncfusion querybuilder getSqlFromRules?
https://ej2.syncfusion.com/javascript/documentation/query-builder/import-export/
Hi Paul,
You need to add Async to the end of Async methods.
Or you can use it with a callback:
this.queryBuilder1.Instance.getSqlFromRules(new Action<dynamic>((r) => { AlertBox.Show(r); }));
HTH,
Levie
Hello Luca,
The issue still persists. The code I tested on the demo: https://github.com/iceteagroup/Wisej-Ext-Syncfusion2
Try
var data = await this.ejQueryBuilder1.Instance.getSqlFromRules().
Or attach a small runnable test case showing the issue.