Name

x_snc_codesanity.DevToolsGetFormatConfig

Description

The DevToolsGetFormatConfig function is called by the DevTools extension point instance class and returns an object with field formatting information.

Script

function DevToolsGetFormatConfig(grRecord)
{
  var strTable = grRecord.getRecordClassName();

  /*
  if (strTable == 'x_your_table')
  {
  	var formatconfig = {
  		performance: {
  			decimals: 2,
  			postfix: ' %'
  		}
  	};
  	return formatconfig;
  }
  */

  return false;
}

Sys ID

ac6718d3db4a8510bcced03cd39619f9

Offical Documentation

Official Docs: