История страницы
...
Hide columns Version 1 (Python)
Группа действийAction group: ОфисOffice
Описание
Действие скрывает видимые столбцы.
...
Description
Action hides visible columns
Action icon
...
Параметры
Входные параметры
- Контекст - Контекст действия для работы с таблицей ods/xlsx.
- Имя начального столбца - Имя начального столбца в диапазоне столбцов, которые будут скрыты. Если поле не заполнено, то начальный столбец будет определен по значению из поля «Индекс начального столбца“. Если не указано ни имя, ни индекс начального столбца, действие завершится с ошибкой.
Индекс начального столбца - Порядковый номер начального столбца в диапазоне столбцов, которые будут скрыты. Нумерация начинается с 1. - Имя конечного столбца - Имя конечного столбца в диапазоне столбцов, которые будут скрыты. Если поле не заполнено, то конечный столбец будет определен по значению из поля "Индекс конечного столбца". Если не указано ни имя, ни индекс конечного столбца, то диапазон будет ограничен только начальным столбцом.
- Индекс конечного столбца - Порядковый номер конечного столбца в диапазоне столбцов, которые будут скрыты. Нумерация начинается с 1.
Настройки
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for working with ods/xlsx table |
. | Robin.OpenSheetD oc |
Yes |
Starting column name | The name of the starting column in the range of columns that will be hidden. If the field is not filled in, the starting column will be determined by the value from the «Starting column index» field. If neither the name nor the index of the starting column is specified, the action will fail. | Robin.String |
No |
Starting column index | The sequence number of the starting column in the range of columns to be hidden. The numbering starts from 1. | Robin.Numeric |
No |
Ending column name | The name of the ending column in the range of columns that will be hidden. If the field is not filled in, the starting column will be determined by the value from the «Ending column index» field. If neither the name nor the index of the destination column is specified, the range will be limited to the starting column only. | Robin.String |
No |
Ending column index | The sequence number of the ending column in the range of columns to be hidden. The numbering starts from |
1. | Robin.Numeric |
Особые условия использования
Отсутствуют.
Пример использования
Задача
No |
Special conditions of use
None.
Example of use
Task
There is a tabular document. It is necessary to hide columns B and CЕсть табличный документ. Необходимо скрыть столбцы B и С.
...
Solution
Воспользоваться действиями "ОткрытьUse the actions "Open", "Скрыть столбцыHide columns", "СохранитьSave".
Реализация
...
Implementation
- Assemble a robot scheme consisting of actions:
- Set parameters for the "Open" action. In the "Path to file" field specify the path to the required tabular document "Test 1".
- Set the parameters for the "Hide columns" action.
- in the "Context" field specify the context of the opened document "Test 1";
- in the "Starting column name" field specify the name of the start column in the range of columns that will be hidden;
- in the "Ending column name" field specify the name of the end column in the range of columns to be hidden.
- Set the parameters of the "Save" action.
- In the "Context" field, specify the context of the open document "Test 1".
- In the "Context" field, specify the context of the open document "Test 1".
- Launch the robot using the "Start" button in the top panel.
Result
The program robot completed successfully.
The required columns are hidden
...
Результат
Программный робот отработал успешно.
Требуемые столбцы скрыты.
Обзор
Инструменты контента