Design and control how your application reads data from its configured data sources.
Configure the table, filter mode, index, sort, and range settings that feed data-driven components in your app project.

Visual Data Configuration
Bind a component to a database table, array, or JSON/CSV source through a simple visual interface.
Flexible Fetching Modes
Switch between index-based and query-based retrieval to suit static lookups or dynamic filtering.
Structured Sorting and Reduction
Sort records ascending or descending, and enable reduction to aggregate results for analytics.
Range and Key Filters
Set keys, ranges, and locator anchors to control paging and narrow the returned dataset.
Reusable Logic Across Components
Apply the same datasource binding pattern across multiple components for consistency and easier maintenance.
The Datasource tab in Xuda Studio App Builder defines the connection between your visual components and the data they consume. It gives developers a clear, modular interface to bind a component to a data structure, choose a retrieval strategy, and apply filtering.
From the header, you can choose the source type, such as DB Table, Array, JSON, CSV, or None. The screenshot shows a DB Table configuration, with the controls that govern how records are fetched and ordered:
- Table: select which table in the project's database the component reads from (sets dataSourceTableId).
- Filter mode: choose between Index and Query as the data retrieval strategy (dataSourceType).
- Index: specify the index used for lookups when filter mode is Index.
- Sort: set the sort order, Ascending or Descending.
- Reduce: enable reduction to aggregate or group matching records.
- Key, Range From / To, Locate From / To: constrain results to a key or range and set navigation anchors for paging through large datasets.
The left-side Programs panel (with Sales chart selected) shows that a datasource is defined per component, while the top workspace tabs (globals, Contact Form, dashboard, Sales chart, Main Router, Main) let developers switch between program units. Together, this view controls how each component reads its data.
Because a datasource config lives on the component, the same binding pattern can be reused across components, making it a building block for data-reactive apps in Xuda Studio.

Frequently asked questions



Develop.Deploy.Stay Productive.
Build apps, sites and AI agents on one platform, and deploy them on managed infrastructure.