How to use the choerodon-ui/pro.DataSet function in choerodon-ui

To help you get started, we’ve selected a few choerodon-ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github choerodon / test-manager-service / react / routes / TestPlan / components / TestPlanModal / index.js View on Github external
  const dataSet = useMemo(() => new DataSet(DataSetFactory({ initValue })), [initValue]);
  useEffect(() => {
github choerodon / devops-service / react / routes / resource / main-view / contents / application / cipher / stores / index.js View on Github external
const tableDs = useMemo(() => {
      const [envId, appId] = parentId.split('-');
      return new DataSet(TableDataSet({
        formatMessage,
        intlPrefix,
        projectId: id,
        envId,
        appId,
      }));
    }, [formatMessage, id, intlPrefix, parentId]);
    const value = {
github choerodon / devops-service / react / routes / certificate / stores / index.js View on Github external
    const permissionProjectDs = useMemo(() => new DataSet(PermissionDataSet(intlPrefix, formatMessage, projectId, detailDs)), [projectId, detailDs]);
    const optionsDs = useMemo(() => new DataSet(OptionsDataSet()), []);
github choerodon / devops-service / react / routes / cluster / main-view / contents / cluster-content / component-manage / monitor-create / stores / index.js View on Github external
    const formDs = useMemo(() => new DataSet(FormDataSet({ formatMessage, intlPrefix, projectId, clusterId, pvDs })), [projectId, clusterId]);
github choerodon / devops-service / react / routes / environment / main-view / contents / detail / stores / index.js View on Github external
    const baseDs = useMemo(() => new DataSet(BaseDataSet()), []);
    const permissionsDs = useMemo(() => new DataSet(PermissionsDataSet({ formatMessage, intlPrefix })), []);
github choerodon / devops-service / react / routes / resource / main-view / contents / application / modals / network2 / stores / index.js View on Github external
  const appInstanceOptionsDs = useMemo(() => new DataSet(AppInstanceOptionsDataSet(projectId, envId, appId, formatMessage)), [projectId, envId, appId]);
  const keyOptionsDs = useMemo(() => new DataSet(KeyOptionsDataSet(projectId, envId, appId)), [projectId, envId, appId]);
github choerodon / devops-service / react / routes / app-service / app-list / stores / index.js View on Github external
    const importDs = useMemo(() => new DataSet(ImportDataSet(intlPrefix, formatMessage, projectId, selectedDs)), [formatMessage, projectId, selectedDs]);
    const listDs = useMemo(() => new DataSet(ListDataSet(intlPrefix, formatMessage, projectId)), [projectId]);