Format - property of the PmfTableCell object
Description:
The property returns or sets the format of the value that will be displayed in the object.
If this property is not set, then it takes (inherits) its value from the same
Format property of the parent object (of the
PmfTableColumn object).
Values:
Object data type - Reference to the
PmFormat object.
This object enables formatting of the cell value according to the specified format.
null data type - The
PmFormat object is not set.
The cell value will not be formatted.
"inherit" (default) - The property takes its value from the parent object
Note:
Property access
for read and write.
This property is also functional in
Web panels.
Example1:
JavaScriptSelect and copy to clipboard
oCell.Format = Pm.CreatePmFormat("Type:Float;DLen:3;");
// Writing into the property
oCell.Format = "Type:Float;DLen:3;";
// Writing into the property
var oFormat = oCell.Format;
// Reading from the property
oCell.Format = null;
// Cancels cell value formatting
oCell.Format = "inherit";
// The property takes its value from the parent object