Returning a JSON data stream
The CXP infrastructure can return data of arbitrary type. This example implements data retrieval from a supplier database. The page itself does not return HTML. Instead, it returns JSON data and is used as the datasource for a grid. The grid itself is implemented in another CXP page. See Editable grid with Tabulator in this sample collection for the implementation of the grid.