Skip to main content
All docs
V24.2

IQueryBuilderClientSideModelGenerator.GetJsonModelScript(String, SelectQuery) Method

Creates a client-side Web Query Builder model based on the specified data and serializes this model to JSON.

Namespace: DevExpress.XtraReports.Web.QueryBuilder.Services

Assembly: DevExpress.XtraReports.v24.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

string GetJsonModelScript(
    string connectionName,
    SelectQuery tableQuery
)

Parameters

Name Type Description
connectionName String

The name of the database connection.

tableQuery SelectQuery

A query that the Query Builder loads on start.

Returns

Type Description
String

A JSON string that contains the Web Query builder model.

See Also