<ReactDataGrid />
cells can be configured to span over multiple rows or columns - via the column.rowspan()
and column.colspan()
functions, which should return numeric values - the number of columns/rows for the current cell to span over. .column.rowspan({ data, value, rowIndex, column, dataSourceArray })
and column.colspan({ data, value, rowIndex, column, dataSourceArray })
column-level prop functions - in those functions you have access to all the info you need to perform dynamic row/col spanningcolumn.rowspan
and column.colspan
functions you have access to the data you need to make those truly dynamic.column.rowspan
&column.colspan
functions should return a numeric value - the number of columns/rows the current cell should span over.