|
|
|
|
|
by Gigachad
1697 days ago
|
|
Tables like you mention, have infinite complexity and requirements. If all you need is the most basic grid, the built in <table> element is fine. But what happens when you need inline editing, filters, searches, live updating data from a server, keyboard shortcuts, etc. A single standard element will never handle everyone's use cases. The parent comment is seeing new wheels being designed for a high speed train and wondering why they are reinventing the wheel when wheels have existed forever. |
|
1. A read-only table for presentation purposes, with pagination and sorting options. (DataTables)
2. A read-only data grid that supports high-frequency updates/redraws, for things like Stock or Bitcoin trading. (Ag-grid?)
3. A data grid to edit JSON/Javascript data, with user-friendly spreadsheet-like controls. (DataGridXL)
4. A spreadsheet-product, with features like formulas, merged cells, HTML (images) in cells, pivot tables, etc. (Handsontable?)
Source: https://www.datagridxl.com/compare.