Skip to main content

Toggle debug data

Show fun debugging information. What are all these numbers? File a bug ticket to find out!

import canvasDatagrid from 'canvas-datagrid';
import data from '/data.json';

const app = document.getElementById('app');
const gridElement = document.createElement('div');
const grid = canvasDatagrid({
  parentNode: gridElement,
  data,
  debug: true,
});

app.append(gridElement);