TX Sheet Control

Generic and HTTP Data

Topic

TX Sheet Control supports spreadsheets, and dashboards based on spreadsheets. For applications that need controlled data refresh, non-SQL generic and HTTP data APIs are exposed through the appropriate main packages. No separate public Data package is installed. The sections below show how to bring application data into a worksheet yourself, when to use data connections instead and how application providers are registered.

Write Application Data Into a Worksheet

The simplest workflow requires no connector registration:

  1. Fetch authorized JSON in your application code.
  2. Validate it.
  3. Write typed values to a worksheet range or table.
  4. Let formulas and dashboard queries use the updated values.

Refresh Data With Data Connections

For richer refresh workflows, use the public DataConnections class, the createHttpDataProvider function and the related connection, query and binding types. Consult the API Reference for the actual provider contract and result shape.

Credentials, query authorization, request validation and endpoint configuration stay in the host.

How Connections Are Persisted and Refreshed

Connection IDs and declarative bindings are different from fetched result rows and executable provider callbacks. Restore the registrations of your application when you construct a new application session.

Refresh deliberately and handle stale data and errors. Do not claim a dashboard is live merely because a connection definition exists.

Application Data Providers

  • SQL/Ado.NET connectors and database demos are not shipped.
  • Helper packages. Do not add obsolete helper-package dependencies from older examples. Where needed, use the supported non-SQL namespaces of the .NET Server package, such as TXTextControl.TXSheetControl.Data, and the exports of the main npm package.

Worksheet-based dashboards can use tables, names and headed ranges directly. They do not need a server connection or a database service.

Next Steps