3.6.2 Setting Cell and Row Visual Properties

There are variety of properties for setting aspects of row, column, and cell visual presentation. Some common properties are listed below:

cellForeground – Text color of the cell specified by row and column indices.

cellForeground[1][3] = [123,0,123]

cellBackground – Fill color of the cell specified by row and column indices.

cellForeground[1][3] = [123,0,123]

colFont – Font settings for column specified by integer index or name.

colFont['Total']='Verdana-Bold-14'

colWidth – Width in points for column specified by integer index or name.

colWidth['Total Sales'] = 0

rowHeight – Width in pixels for row specified by integer index.

rowHeight[3] = 0

rowBackground – Fill color of the row specified by the integer index

rowBackground[5] = [255,0,0]

setHyperlink(row, col, hyperlink) – Hyperlink for cell specified by row and column indices.

setHyperlink(1, 1, "Tutorial/Ad Hoc");

<< 3.6.1 Accessing Table Data © 1996-2013 InetSoft Technology Corporation (v11.5) 3.6.3 Displaying Images in Table Cells >>