Render dynamic and interactive data grids from HTML table elements or JSON data