"
πŸš€ DataGridXL3 Out Now! See what's newβ†’
staging

DataGridXL β€” API

Integration

Types

NOTE: DataGridXL is written in JavaScript. We are aiming to offer full type coverage across our entire API to better support our TypeScript users.
object
Cell Coordinates
{
  x ColCoord,
  y RowCoord
}
object
Range of Cells
{
  from CellCoords,
  to CellCoords
}
array
(CellRange)
Collection of Cell Ranges
[CellRange, ...]
string|number|boolean
Cell Value
number
Column Coordinate
number
Column Id
number
Column Index
object
Range of Columns
{
  from ColCoord,
  to ColCoord
}
array
(ColRange)
Collection of Column Ranges
[ColRange, ...]
object
Item inside of context menu
{
  label string,
  method function,
  shortcutLabel string,
  shortcutLabelMac string
}
Array
Range of Cell Values
number
Row Coordinate
number
Row Id
number
Row Index
object
Range of Rows
{
  from RowCoord,
  to RowCoord
}
array
(RowRange)
Collection of Row Ranges
[RowRange, ...]
object
Selection Range
{
  range CellRange,
  type ('cell'|'col'|'row')
}
object
DataGridXL Theme. Use full HEX strings like "#ffffff" for optimal performance.
{
  fontSize number,
  barHeight number,
  header string,
  header_text string,
  selector string,
  bar string,
  bar_text string,
  viewport string,
  sheet string,
  sheet_text string,
  gridline string,
  gridline_opacity string,
  search string
}
ids
Required
Only argument of deleteRowsById method
β€’ Array.rowid