Format - property of the PmfTableColumn object
Description:
The property returns or sets the format of the value that will be displayed in the object.
Values:
Object data type - Reference to the
PmFormat object.
This object enables formatting of all cell values in a given column according to the specified format (except for cells that have their own formatting - see the
Format property).
String data type -
PmFormat object formatting string.
Creates the
PmFormat object from the format string. and enables formatting of all cell values in the column according to the specified format (except for cells that have their own formatting - see the
Format property).
null data type (default) - The
PmFormat object is not set.
The cell values in the column will not be formatted.
Note:
Property access
for read and write.
This property is also functional in
Web panels.
Example1:
JavaScriptSelect and copy to clipboard
oCol.Format = Pm.CreatePmFormat("Type:Float;DLen:3;");
// Writing into the property
oCol.Format = "Type:Float;DLen:3;";
// Writing into the property
var oFormat = oCol.Format;
// Reading from the property
oCol.Format = null;
// Cancels formatting of all cells in the column