PivotGridSettings.CustomJsProperties Property
Enables you to supply any server data that can then be parsed on the client.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
CustomJSPropertiesEventHandler | A CustomJSPropertiesEventHandler method to which custom processing is delegated. |
Remarks
In some instances, it is necessary to obtain server information on the client. The delegate method defined by the CustomJsProperties property enables you to declare temporary client properties. Once declared, a property can be accessed on the client.
To add new properties, use the parameter’s CustomJSPropertiesEventArgs.Properties property, which represents a collection of property names and their values. The only requirement is that property names must begin with the ‘cp’ prefix, to avoid rewriting the base properties exposed by the PivotGrid extension.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomJsProperties property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.