Default Grid

Default Grid

You'll only need a div element that has an id to display a default data grid. If you don't supply data (or any other options), the grid defaults to an empty 3×3 data grid with spreadsheet-style headers (123 for rows, ABC for columns).

Code

<style>
#grid {
  height: 400px;
}
</style>

<div id="grid"></div>

<script src="https://code.datagridxl.com/datagridxl2.js"></script>
<script>
var grid = new DataGridXL("grid");
</script>

Leave email to receive latest updates!