PSWriteHTML icon indicating copy to clipboard operation
PSWriteHTML copied to clipboard

New-HTMLTable - Rendering plugins

Open PrzemyslawKlys opened this issue 5 years ago • 0 comments

Data renderers can be used to transform data from a feed from one format into another. This can be useful if you want to customise the data the user sees - for example showing an ISO8601 date from a feed as a localised data format.

DataTables has two built in renderers (number and text), which can be expanded upon through the plug-ins below. More can also be created as required - please see this blog post for a full description on creating your own plug-ins.

  • intl | Use the Intl Javascript API to render dates and numbers
  • percentageBars | Display percentage value as a bar
  • datetime | Convert date / time source data into one suitable for display
  • ellipsis | Restrict output data to a particular length, showing anything

Needs investigation: https://datatables.net/plug-ins/dataRender/

PrzemyslawKlys avatar Aug 22 '20 17:08 PrzemyslawKlys