Using a fetch for Grid.js to get JSON for the node table from another endpoint means we could use Pyramid's JSON renderer to simplify generating the node data and make the table HTML much simpler.
Similar to what I've done on the map view.
While Pyramid supports the __json__(), I think I prefer having the conversion done closer to the view.
Using a fetch for Grid.js to get JSON for the node table from another endpoint means we could use Pyramid's JSON renderer to simplify generating the node data and make the table HTML much simpler.
Similar to what I've done on the map view.
While Pyramid supports the
__json__()
, I think I prefer having the conversion done closer to the view.