Table. Custom output mode via JS

The table can be used as a data source to be processed via JS.

To do this, specify in SELECT 3 GetItems viewType='custom', in this case the table is not output (only the header and filters are output).

Subsequent JS processing takes place in the GetItems callback.

Example of working on a demo stand - https://demo.web-automation.ru/list/watch/tablica-s-kastom-vyvodom-cherez-js---63

Example of a JS callback GetItems: 

Note:

  • to work with paging, we used markup from the function as.crid 2.getpagingmakeup(options, 'pgclass'), where the pgClass is the css class for the pagination container.
  • data comes in the data.items and data collections.footer Items.
  • If you don't need filters and headers, then you can replace the contents of options.count (use html instead of append).
Falcon Space is a functional web development platform on a narrow stack MS SQL/Bootstrap. Falcon Space Gettting started
{sp-shortDemostandLinks}

Falcon Space Platform

This is a reduction in the cost of ownership

at the expense of fewer people to support

This is a quick change

while using the program

This is a modern interface

full adaptation for mobile devices

Note