[SOLVED] How can I get the value of Syncfusion Querybuilder?

Answered Closed
0
0

How can I get the value of Syncfusion querybuilder getSqlFromRules?

https://ej2.syncfusion.com/javascript/documentation/query-builder/import-export/

 

  • You must to post comments
Best Answer
0
0

Hi Paul,

You need to add Async to the end of Async methods.

untitled

Or you can use it with a callback:

this.queryBuilder1.Instance.getSqlFromRules(new Action<dynamic>((r) => {
 AlertBox.Show(r);
}));

 

HTH,

Levie

Attachment
  • You must to post comments
0
0

Hello Luca,

The issue still persists. The code I tested on the demo: https://github.com/iceteagroup/Wisej-Ext-Syncfusion2

  • You must to post comments
0
0

Try

var data  = await this.ejQueryBuilder1.Instance.getSqlFromRules().

Or attach a small runnable test case showing the issue.

  • You must to post comments
Showing 3 results