logoalt Hacker News

sa46last Thursday at 7:58 PM1 replyview on HN

> Where is the native HTML datagrid

Which parts of a datagrid should a browser provide? I'm familiar with AG Grid [1] and the API surface is enormous. Aligning browsers on a feature set would be challenging.

Maybe there's a core set of functionality, like Flutter's GridView or QML https://doc.qt.io/qt-6/qml-qtquick-gridview.html.

[1]: https://www.ag-grid.com/


Replies

crab_galaxylast Thursday at 8:16 PM

The simplest would be to follow the aria role=“grid” spec, ideally with sortable columns. IMO it doesn’t need the kitchen sink AG Grid approach just a sane way to semantically build a data grid with proper accessibility.

https://www.w3.org/WAI/ARIA/apg/patterns/grid/examples/data-...

show 1 reply