Responsive cards, shared table state
Switch between Table, Cards, and Auto without resetting search, pagination, or selection. Card view uses a renewable subscription restricted to your deployment origin.
import { connectDataTableLicense } from 'wts-data-table/license';
import { createDataTableCardView } from 'wts-data-table/card-view';
const license = await connectDataTableLicense({ licenseKey: deploymentKey });
const cards = createDataTableCardView({
license, origin: window.location.origin,
table, mode: 'auto', breakpoint: 720, minCardWidth: '17rem',
selection: true
});
cards.setMode('cards');
// When the component unmounts:
cards.destroy();
license.destroy();Card view · Licensed. Cards share the same search, page, and row selection. Use Table for column controls and inline editing. Auto switches at a container width of 720px.









