Table templates:  General information .

<< Click to Display Table of Contents >>

Navigation:  Delphi HTML Report Library > Tables >

Table templates:  General information .

 

All parts of a table, such as table itself, column header, row and cell can be specified by templates. All templates looks like:

 

<template-…>..<template-...>

 

All templates have custom (= true / false) attribute determines whether the template set only internal content of element or replaces full element.

For example, a template for a cell with value “5”

 

<template-cell>

<i>{{value}}</i>

</template-cell>

 

Produces:

 

<td (attributes…)> <i>5</i></td>

 

But  template

 

<template-cell custom="true">

<i>{{value}}</i>

</template-cell>

 

Produces:

 

<i>5<i>