CheckSelectResult CheckExcludeGridElem(string mon)
mon. Moniker of the Table visualizer.
The CheckExcludeGridElem operation checks if element(s) can be excluded from table.
The operation checks if selected heading/sidehead dimension element(s) can be excluded. To execute the operation, in the mon field specify moniker of regular report instance with the !DataArea!DataSources!source key!DataSourceSlices!slice key!Views!table key postfix to work with the visualizer. The moniker can be obtained on executing the OpenPrxMeta operation.
The operation returns whether the selected element(s) can be excluded and all element(s), except for the selected one, can be excluded.
Below is the example of checking if element(s) can be excluded from table. It is assumed that a table heading/sidehead element is selected. The request contains table moniker. The response returns whether the selected element can be excluded or all elements, except for the selected one, can be excluded.
{
"CheckExcludeGridElem" :
{
"mon" : "AINBKOKJPMHFGOAECGKFDNLHBIFAAFAEMLOAJECGJHELACKJ!M!S!PNBCFPBLJPMHFGOAEKFMFNOCEOKJPPMMEAIMHDCCOFINHDFJM!DataArea!DataSources!1!DataSourceSlices!1!Views!1"
}
}
{
"CheckExcludeGridElemResult" :
{
"excludeOther" : "1",
"exclude" : "1"
}
}
public static CheckSelectResult CheckExcludeGridElem(string moniker, uint sourceKey, uint sliceKey, uint viewKey)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tRef = new CheckExcludeGridElem()
{
mon = moniker + "!DataArea!DataSources!" + sourceKey + "!DataSourceSlices!" + sliceKey + "!Views!" + viewKey
};
// Check if selected heading/sidehead element(s) can be excluded
var result = somClient.CheckExcludeGridElem(tRef);
return result;
}
See also: