Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Added

 

Polish

← Powrót do listy dostępnych setterów

← Powrót do listy dostępnych zadań automatycznych

Info

Jeśli masz problem ze zrozumieniem jak działa zadanie automatyczne, sprawdź opisy: Zadanie automatyczneWykonanie warunkoweParametry komponentów

Panel
titlePodstawowe informacje

Kategoria: Tabela

Dostępna od wersji: 1.0.18

Panel
titleOpis

Pozwala na ustawienie wartości w kolumnie w określonym przez warunek wierszu z możliwością odwołania się do wartości z sąsiadujących kolumn.

Panel
titleParametry konfiguracyjne
Nazwa parametruOd wersjiOpisTyp parametruWartość domyślnaRodzaj pola

Uwagi i ograniczenia

Kolumna do ustawienia*1.0.18Kolumna w której ustawiamy wartość komórekZmienna Edytowalna lista wartościLista zawiera wszystkie indeksy danej klasy dokumentu
Wartość do ustawienia w komórce*1.0.18Wartość, która zostanie ustawiona w komórce.Funkcja Pole edytowalne

Można odnieść się do zmiennej kontekstowej Indeks wiersza, aby ustawić różne wartości dla poszczególnych wierszy.

Funkcja musi zwracać pojedynczy odpowiednik typu, który posiada kolumna.

Np. kolumna wartości tekstowych będzie ustawiana przy użyciu tekstu.

Kolumna do ustawienia*1.0.18134Kolumna, w której ustawiamy zostanie ustawiona podana wartość komórek.Zmienna

Tablica zmiennych

 Edytowalna lista wartościLista zawiera wszystkie indeksy danej klasy dokumentuPole edytowalnePatrz wyżej: "Kolumna do ustawienia".
Wartość1.0.134Wartość, która zostanie ustawiona w komórce w podanej kolumnie.Tablica funkcji Pole edytowalnePatrz wyżej: "Wartość do ustawienia w komórce".
Warunek1.0.18Wartość w danym wierszu zostanie ustawiona, jeżeli zostanie spełniony ten warunek.Funkcja Pole edytowalne

Można użyć zmiennej kontekstowej Indeks wiersza, aby inaczej potraktować każdy wiersz i uzyskać możliwość porównania innych kolumn w tym wierszu.

Funkcja musi zwracać wartość logiczną.

Jeżeli zostawimy ten parametr pusty, to warunek będzie spełniony dla każdego wiersza.

Parametr*- pole wymagane

Panel
titleZmienne kontekstowe
Nazwa zmiennej kontekstowejTypOpis
Indeks wierszaCałkowityPrzetrzymuje indeks aktualnie analizowanego przez komponent wiersza. Komponent zmienia wartość, wykonując ustawianie wiersz po wierszu z podanej kolumny.
Panel
titlePrzykładowa konfiguracja

Image RemovedImage Added

Panel
titlePrzykłady
1. Ustawianie przy użyciu innej kolumny

Image Removed

2. Ustawianie stałej wartości we wszystkich wierszach

Image Removed

Panel
titleChange log

1.0.18

  • Dodanie komponentu

1.0.25

  • Poprawienie rzucania wyjątków

1.0.57

  • Aktualizacja dynamicznego formularza

1.0.65

  • Poprawienie zwracanego błędu

1.0.66

  • Naprawienie błędu po poprawce w 1.0.65 (NullPointerException)

1.0.134

  • Możliwość ustawiania wartości dodatkowych kolumn
Panel
titlePakiet z przykładowym formularzem wykorzystującym aplikację

 

View file
nameTesty komponentów - aplikacje - [APLIKACJA] Ustawianie warto ci w kolumnie 2019-10-17 13_29_06.zip
height250

Hide If
special@anonymous

Aktualne

Archwialne

Archiwalne

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-566

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-176

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-185

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-466

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-575

English

← Return to the list of available setters

← Return to the list of available automatic tasks

Info

If you have trouble understanding how an automated task works, check: Automatic taskConditional executionComponents parameters 

Panel
titleBasic information

Category: Table

Available from version: 1.0.18

Panel
titleDescription

Allows you to set values in the column in the row specified by the condition with the ability to reference values from adjacent columns.

Panel
titleConfiguration parameters
*18Variable list of valuesThe list contains all indexes of a given document class

Parameter name

From version

Description

Parameter type

Default value

Field type

Comments and restrictions

Column to be set*

1.0.18

The column in which we set the cell value

Variable

 

Editable list of values

The list contains all indexes of a given document class

Cell value to be set*

1.0.18

The value to be set in the cell.

Function

 

Editable field

You can refer to the row indexcontext variable to set different values for each row.

The function must return a single equivalent of the type that column has.

E.g. a column of text values will be set using text.

Column1.0.134Column where according cell value will be set.Variable array Editable fieldSee above "Column to be set".
Value1.0.

The column in which we set the cell value

134Cell value to set in according column.Function array Editable fieldSee above: "Cell value to be set".

Condition

1.0.18

The value in a given row will be set if this condition is met.

Function

 

Editable field

You can use the row indexcontext variable to treat each row differently and get the ability to compare other columns in that row.

The function must return a boolean value.

If we leave this parameter empty, then the condition will be met for each row.

Parameter*- mandatory field

Panel
titleContextual variables

The name of the contextual variable

Type

Description

Row index

Absolute

Holds the index currently being analyzed by the row component. The component changes its value by performing a row-by-row adjustment from the given column.

Panel
titleConfiguration example

Image RemovedImage Added

Panel
titleExamples
1. Setting using a different column  

Image Removed

2. Setting a fixed value in all rows 

Image Removed

Panel
titleChange log

1.0.18

  • Adding a component

1.0.25

  • Improving the casting of exceptions

1.0.57

  • Update of the dynamic form

1.0.134

  • Possibility to set additional column values
Hide If
special@anonymous

Current

Archive

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-176

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-185

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-466