styleFunc method

Table styleFunc(
  1. TableStyleFunc func
)

Sets the style function for per-cell conditional styling.

The function receives row (-1 for header), col, and data, and should return a Style or null.

Implementation

Table styleFunc(TableStyleFunc func) {
  _styleFunc = func;
  return this;
}