GetEaxGridHeaderSettings

Syntax

EaxGridHeaderSettings GetEaxGridHeaderSettings(string mon, EaxGridHeaderSettings tArg)

Parameters

mon. Moniker of the table header, for which settings should be obtained.

tArg. Header settings that should be obtained.

Description

The GetEaxGridHeaderSettings operation gets table visualizer header settings.

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 settings.

Example

Below is the example of getting table sidehead settings. The request contains sidehead moniker and the list of obtained settings. The response contains the obtained settings 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">
<GetEaxGridHeaderSettings xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">FCJKECDEBBGOFOAENKBHCHAOHGPDFHHEPJAKMBIGJNLFCJOB!M!S!PBOIFFGDEBBGOFOAEGDIGBMJIIJJDBBDEFLPHAOFEMBCDFFIK!DataArea!Views!1!Settings!LeftSettings</mon>
<tArg xmlns="">
  <displaySortIcons>false</displaySortIcons>
  <hierarchyIndent>0</hierarchyIndent>
  <placement>0</placement>
  </tArg>
  </GetEaxGridHeaderSettings>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetEaxGridHeaderSettingsResult 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">
  <displaySortIcons xmlns="">0</displaySortIcons>
  <hierarchyIndent xmlns="">-1</hierarchyIndent>
  <placement xmlns="">2</placement>
  </GetEaxGridHeaderSettingsResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetEaxGridHeaderSettings" :
{
"mon" : "FCJKECDEBBGOFOAENKBHCHAOHGPDFHHEPJAKMBIGJNLFCJOB!M!S!PBOIFFGDEBBGOFOAEGDIGBMJIIJJDBBDEFLPHAOFEMBCDFFIK!DataArea!Views!1!Settings!LeftSettings",
"tArg" :
{
"displaySortIcons" : "false",
"hierarchyIndent" : "0",
"placement" : "0"
}
}
}

JSON response:

{
"GetEaxGridHeaderSettingsResult" :
{
"displaySortIcons" : "0",
"hierarchyIndent" : "-1",
"placement" : "2"
}
}
public static EaxGridHeaderSettings GetEaxGridHeaderSettings(string moniker, uint viewKey)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetEaxGridHeaderSettings()
{
tArg = new EaxGridHeaderSettings()
{
displaySortIcons = new bool(),
hierarchyIndent = new double(),
placement = new int()
},
mon = moniker + "!DataArea!Views!" + viewKey.ToString() + "!Settings!LeftSettings"
};
// Get header settings
var result = somClient.GetEaxGridHeaderSettings(tGet);
return result;
}

See also:

Working With Regular Reports