Overview

A data grid is a part of the Gantt chart where names of its elements are displayed. (Alternatively, you can display any other text – see Columns: Text).

The class of the data grid is anychart.core.ui.DataGrid – use dataGrid() to access it.

Also, please note that the settings listed in this section can be applied both to Project and Resource charts.

Articles

Articles in this section explain how to configure:

  • Appearance – the fill of rows, stroke of columns, etc.
  • Columns – the width, title, text, and other settings of columns
  • Buttons – the expand / collapse buttons
  • Tooltips – the data grid tooltips

Enabling / Disabling

The data grid is enabled by default. To disable or enable it, pass false / true to dataGrid():

chart.dataGrid(false);

Playground