QueryForm¶
Attention
This doc is deprecated!
- Combobox binding:
Sample:
jsample/views/domain.jsx
Query form uses dataset, sk=’lvl1.domain.jsample’ to mount Combobox;
Query form are configured with configuration data. Condition fields are generated according to this.state.conds;
- AnQueryForm usage
Query condition is controlled by <AnQueryForm [query]>. Provide a callback for iterating through user’s interaction results.
- Use AnReactExt for list binding
DomainComp.toSearch() uses the query form results as conditions, load list from port query.serv through API of AnContext.anClient, which is an instance of SessionClient, then mount the list to the main table.