gridColor([color])

Class: Table.

Description:

Gets or sets the color of the table's grid lines.
Note: This only has an effect if grid lines are enabled.

Parameters:

Name Type Description

[color]

string

A valid CSS color string (e.g., "#000000" for black).

Returns:

Returns the current value if no parameter is provided; otherwise, returns the Table instance for chaining.

Type: string | Table

Examples:

// Set the grid line color
table.gridColor("#000000");

// Get the current grid line color
alert(table.gridColor());