GetEaxGridHeaderProperties

Syntax

EaxGridHeaderProperties GetEaxGridHeaderProperties(string mon, EaxGridHeaderProperties tArg)

Parameters

mon. Table header moniker, for which a property should be obtained.

tArg. Header properties that should be obtained.

Description

The GetEaxGridHeaderProperties operation gets table visualizer header properties.

Comments

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:

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.

Example

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.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetEaxGridHeaderProperties xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">FCJKECDEBBGOFOAENKBHCHAOHGPDFHHEPJAKMBIGJNLFCJOB!M!S!PBOIFFGDEBBGOFOAEGDIGBMJIIJJDBBDEFLPHAOFEMBCDFFIK!DataArea!Views!1!Settings!LeftProp</mon>
<tArg xmlns="">
  <indent>false</indent>
  <hierarchical>false</hierarchical>
  </tArg>
  </GetEaxGridHeaderProperties>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetEaxGridHeaderPropertiesResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <indent xmlns="">1</indent>
  <hierarchical xmlns="">1</hierarchical>
  </GetEaxGridHeaderPropertiesResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetEaxGridHeaderProperties" :
{
"mon" : "FCJKECDEBBGOFOAENKBHCHAOHGPDFHHEPJAKMBIGJNLFCJOB!M!S!PBOIFFGDEBBGOFOAEGDIGBMJIIJJDBBDEFLPHAOFEMBCDFFIK!DataArea!Views!1!Settings!LeftProp",
"tArg" :
{
"indent" : "false",
"hierarchical" : "false"
}
}
}

JSON response:

{
"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:

Working With Regular Reports