Browse documentation
Developer guide2 min read

Licensed advanced features

Advanced code ships inside wts-data-table under normal feature names. There is no separate Pro package and no premium import namespace.

Verify before construction

#

connectDataTableLicense verifies a deployment key with the backend and returns a renewable session. Service denial, expiry, origin mismatch, or denied package-wide Premium access fail before the advanced controller is created.

Standard and Premium licensing

#

In 1.1.1, Standard code remains MIT-licensed. Premium code requires a separate written commercial subscription agreement; downloading the package or possessing a deployment key does not itself grant commercial permission. Previously published MIT copies retain their original permissions. Review pricing and licensing before deploying Premium in a customer product.

Package-managed Premium features

#

An active Premium subscription includes card view, advanced row model, indexed search, background export, worker processing, live data, server analytics, formulas, collaboration, governance, and report design. The package defines these capabilities; backend features metadata does not grant or restrict them.

Subscription-based access, not version coverage

#

Premium access follows the paid subscription period, not a package release or maintenance window. The SDK sends its installed version as diagnostic metadata required by the shared service, but does not validate versionAllowed or compare response package versions. The backend must apply subscription policy independently of release registration. An explicit service denial is never bypassed.

Card-view migration

#

From version 1.1.0, createDataTableCardView and DataTableCardViewController require a verified card-view entitlement. Pass license and origin: window.location.origin. The controller also validates the real host document origin; a copied demo key cannot unlock another site. Standard tables need no key, and published 1.0.x behavior is unchanged.

Renewal and recovery

#

Premium access ends at subscription or short-lease expiry. Observe status.renewalDue, save drafts with subscribeBeforeAccessLoss, and refresh after renewal. Recreate disposed controllers from saved state. Destroy the session on teardown. Signed keys are unsupported.

Keep authorization separate

#

The entitlement controls access to package APIs. It never replaces user authentication, server authorization, tenant checks, or mutation validation.

Verify and use a licensed feature

#

This recipe focuses on the integration pattern. Replace application-specific values and callbacks with your own data and services.

Verify and use a licensed feature
TypeScript
import { connectDataTableLicense } from 'wts-data-table/license';
import { createRemoteRowModel } from 'wts-data-table/remote';

const license = await connectDataTableLicense({ licenseKey: deploymentKey });

const rows = createRemoteRowModel({
  license,
  origin: window.location.origin,
  ...remoteOptions
});
Need a complete starting point?

The framework quick start includes install commands, a typed data file, and the component that renders it.

Go to the quick start →

Ready to try it with real data?

Explore configurable examples ↗