EaxGridHeaderProperties GetEaxGridHeaderProperties(string mon, EaxGridHeaderProperties tArg)
mon. Table header moniker, for which a property should be obtained.
tArg. Header properties that should be obtained.
The GetEaxGridHeaderProperties operation gets table visualizer header properties.
To execute the operation, in the mon field specify regular report instance moniker with the DataArea!Views!table key!Settings!header type postfix. The following is specified as a header type:
TopProp. Table heading.
LeftProp. Table sidehead.
The regular report instance moniker can be obtained on executing the OpenPrxMeta operation. In the tArg field specify empty values or default values for the fields, which values should be obtained.
The operation results in the obtained table header properties.
Below is the example of getting table sidehead properties. The request contains sidehead moniker and the list of obtained properties. The response contains the obtained properties values.
{
"GetEaxGridHeaderProperties" :
{
"mon" : "FCJKECDEBBGOFOAENKBHCHAOHGPDFHHEPJAKMBIGJNLFCJOB!M!S!PBOIFFGDEBBGOFOAEGDIGBMJIIJJDBBDEFLPHAOFEMBCDFFIK!DataArea!Views!1!Settings!LeftProp",
"tArg" :
{
"indent" : "false",
"hierarchical" : "false"
}
}
}
{
"GetEaxGridHeaderPropertiesResult" :
{
"indent" : "1",
"hierarchical" : "1"
}
}
public static EaxGridHeaderProperties GetEaxGridHeaderProperties(string moniker, uint viewKey)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetEaxGridHeaderProperties()
{
tArg = new EaxGridHeaderProperties()
{
hierarchical = new bool(),
indent = new bool()
},
mon = moniker + "!DataArea!Views!" + viewKey.ToString() + "!Settings!LeftProp"
};
// Get header properties
var result = somClient.GetEaxGridHeaderProperties(tGet);
return result;
}
See also: