Serwis VariableSetService pozwala zarządzać tabelami dynamicznymi oraz zmiennymi znajdującymi się w tych tabelach. Posiada następujące funkcje:
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
variableSetNo | Number | null | Numer tabeli dynamicznej na formularzu zgodnie z mapą procesu (pierwsza tabela ma numer 0) |
Rezultat funkcji:
Typ | Opis |
---|---|
Suncode.form.view.gadget.variableset.VariableSet | Komponent tabeli dynamicznej lub undefined, jeśli nie znaleziono |
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
getEditable | Boolean | false | Informacja, czy zwracac tylko edytowalne tabele dynamiczne |
Rezultat funkcji:
Typ | Opis |
---|---|
Suncode.form.view.gadget.variableset.VariableSet[] | Tablica komponentów tabel dynamicznych lub pusta tablica, jeśli nie znaleziono żadnej tabeli |
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
variableSet | Suncode.form.view.gadget.variableset.VariableSet | null | Komponent tabeli dynamicznej |
startEditing | Boolean | false | Informuje, czy rozpocząć edycję pierwszej edytowalnej komórki nowo dodanego rekordu |
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
variableSet | Suncode.form.view.gadget.variableset.VariableSet | null | Komponent tabeli dynamicznej |
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
variableSet | Suncode.form.view.gadget.variableset.VariableSet | null | Komponent tabeli dynamicznej |
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
variableSet | Suncode.form.view.gadget.variableset.VariableSet | null | Komponent tabeli dynamicznej |
record | Ext.data.Model | null | Obiekt rekordu tabeli dynamicznej |
Rezultat funkcji:
Typ | Opis |
---|---|
Integer | Numer wiersza |
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
variableSet | Suncode.form.view.gadget.variableset.VariableSet | null | Komponent tabeli dynamicznej |
variableId | String | null | Identyfikator zmiennej formularza (identyfikator zmiennej procesu) znajdującej się w tabeli dynamicznej |
Rezultat funkcji:
Typ | Opis |
---|---|
Integer | Numer kolumny |
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
variableSet | Suncode.form.view.gadget.variableset.VariableSet | null | Komponent tabeli dynamicznej |
rowIndex | Integer | null | Numer wiersza rekordu (pierwszy wiersz ma numer 0) |
variableId | String | null | Identyfikator zmiennej formularza (identyfikator zmiennej procesu) znajdującej się w tabeli dynamicznej |
Rezultat funkcji:
Typ | Opis |
---|---|
Object | Wartość zmiennej w komórce |
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
variableSet | Suncode.form.view.gadget.variableset.VariableSet | null | Komponent tabeli dynamicznej |
rowIndex | Integer | null | Numer wiersza rekordu (pierwszy wiersz ma numer 0) |
variableId | String | null | Identyfikator zmiennej formularza (identyfikator zmiennej procesu) znajdującej się w tabeli dynamicznej |
value | Object | null | Wartość zmiennej formularza |
Rezultat funkcji: brak
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
variableSet | Suncode.form.view.gadget.variableset.VariableSet | null | Komponent tabeli dynamicznej |
rowIndex | Integer | null | Numer wiersza rekordu (pierwszy wiersz ma numer 0) |
variableId | String | null | Identyfikator zmiennej formularza (identyfikator zmiennej procesu) znajdującej się w tabeli dynamicznej |
Rezultat funkcji: brak
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
variableSet | Suncode.form.view.gadget.variableset.VariableSet | null | Komponent tabeli dynamicznej |
rowIndex | Integer | null | Numer wiersza rekordu (pierwszy wiersz ma numer 0) |
variableId | String | null | Identyfikator zmiennej formularza (identyfikator zmiennej procesu) znajdującej się w tabeli dynamicznej |
Rezultat funkcji: brak
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
variableSet | Suncode.form.view.gadget.variableset.VariableSet | null | Komponent tabeli dynamicznej |
Rezultat funkcji:
Typ | Opis |
---|---|
String | Zawartość tabeli w formie JSON |
getRowsCount - zwraca ilość wierszy w tabeli dynamicznej.
Parametry funkcji:
Nazwa | Typ | Wartość domyślna | Opis |
---|---|---|---|
variableSet | Suncode.form.view.gadget.variableset.VariableSet | null | Komponent tabeli dynamicznej |
Rezultat funkcji:
Typ | Opis |
---|---|
Integer | Ilość wierszy w tabeli dynamicznej |