Versions Compared

Key

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

Polish

  ← Powrót do listy dostępnych akcji

Info
 Jeśli masz problem ze zrozumieniem jak działa akcja, sprawdź opisy: Akcja, Wykonanie warunkowe, Parametry komponentów
Panel
titlePodstawowe informacje

Kategoria: Tabela

Umiejscowienie akcji: Tabela

Dostępna od wersji: 1.0.22

Panel
titleOpis

Akcja koloruje wiersze w tabeli na podstawie spełnionego warunku. Przy odpowiedniej konfiguracji jest możliwość kolorowania całych kolumn.

Panel
titleWywołanie akcji
Info

Pozostawienie pustego pola wykonania warunkowego jest jednoznaczne z ustawieniem go na "prawdę".

Umiejscowienie akcjiDziałanie parametru "Wykonanie warunkowe"Warunek wywołania akcji
Tabela

Uaktywnia sprawdzanie parametru "Warunek"

Parametr "Warunek" zwróci prawdę - jest on sprawdzany każdorazowo po zmianie danych w nim użytych
Panel
titleParametry konfiguracyjne
Nazwa parametruOd wersjiOpisTyp parametruWartość domyślnaRodzaj polaUwagi i ograniczenia
Warunek*1.0.29Jeżeli warunek zostanie spełniony, to wiersze zostaną pokolorowane. (Można użyć parametru "Indeks wiersza (iteracja)" oraz  funkcji "item()" aby warunek był sprawdzany dla każdego osobno wiersza).Funkcja Pole edytowalne 
Kolor tła1.0.22Wartość koloru tław kodzie szesnastkowym. np AA12FD (bez #).  Możliwość wyboru koloru z palety kolorów pod parametremTekst Pole edytowalne 
Wybrane kolumny do malowania1.0.22Wybrane kolumny(zmienne w tabelce) do pokolorowania. W przypadku nie podania parametru, będzie pokolorowany cały wiersz (we wszystkich kolumnach)Tablica zmiennych Pole edytowalne 

Parametr*- pole wymagane

Panel
titleZmienne kontekstowe
Nazwa zmiennej kontekstowejOpisTyp parametru
Indeks wiersza (iteracja)Przechowuje informacje o indeksie obecnie analizowanego wiersza.Całkowity
Panel
titlePrzykładowa konfiguracja

Panel
titleChange log

1.0.22

  • Dodanie komponentu

1.0.29

  • Dodanie parametru "Warunek"

1.0.62

  • Sprawdzanie, czy "Warunek" zwraca typ logiczny
Panel
titlePakiet z przykładowym formularzem wykorzystującym akcję

View file
nameTesty komponentów - akcje - [AKCJA] Kolorowanie wierszy 2019-10-14 10_23_55.zip
height250
 

Hide If
special@anonymous

Zadania związane z komponentem

Aktualne

Archiwalne

JIRA
server192.168.1.52 JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-189

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

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

English

 ← Return to the list of available actions

Info

If you have a problem understanding how the action works, check: ActionConditional ExecutionComponents parameters.

Panel
titleBasic information

Category: Table

Action location: Table

Available from version: 1.0.22

Panel
titleDescription

The action colors the rows in the table based on the met condition. With the right configuration, it is possible to color entire columns.

Panel
titleAction call-up
Info

Leaving an empty conditional field is equal to setting it to "true".

Action location

Conditional execution parameter action

Action call-up condition

Table

Activates action

The "Condition" parameter will return true - it is checked each time the data used in it is changed

Panel
titleConfiguration parameters

Parameter name

From version

Description

Paremeter type

Default value

Field type

Comments and restrictions

Condition*

1.0.29

If the condition is met, the rows will be colored. (You can use the "Row index (iteration)" parameter and the "item ()" function to check the condition for each row separately.)

Function

 

Editable field

 
Colour of background1.0.22The color value is hexadecimal. e.g. AA12FD (without #). The ability to choose a color from the color palette under the parameterText Editable field 
Selected columns to be painted1.0.22Selected columns (variables in the table) to be colored. If no parameter is given, the entire row will be colored (in all columns)Array of variables Editable field 

Parameter*- mandatory field

Panel
titleConfiguration example

Image Added

Panel
titleChange log

1.0.22

  • Adding a component

1.0.29

  • Addition of the "Condition" parameter

1.0.62

  • Checking if "Condition" returns a logical type