sWhat | (String) Obtained information type. id - Column identifier. index - Column index. title - Displayed column name. width - Column width. |
---|---|
vColId | (Variant) Identifier or index of a single column containing the value to be returned. The value $all means that the value for all columns will be returned in the form of array (PmArray object). |
If an error occures, then the method returns: null for JavaScript or Empty pro VBScript (it can be tested by the Pm.IsValid method).
This method is also functional in Web panels.
var oViewer = pMe.Items("/Viewer");
var sTitle = oViewer.GetColInfo("title", 1);