История страницы
Clear table Version 2 (Net)
Action group: Tables
...
Description
The action clears tables.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Data table | The table from which all values will be cleared. | Robin.DataTable | Yes | |
Whith out header. | If the value is true, then the first row of the table is skipped. | Robin.Boolean | true | No |
Special conditions of use
The first row is considered to be the headers of the table.
Only the data from the table cells is deleted when clearing. The number of cells remains the same.
Example of use
Task
There is a CSV table.
Clear the table excluding the header and create a new modified document.
Solution
Use the "Get table from CSV", "Clear table", "Table to CSV" actions.
Implementation
- Assemble a robot scheme with the actions.
- Set the "Get table from CSV" action parameters.
- Set the "Clear table" action parameters.
- Set the "Table to CSV" action parameters.
- Click "Start" in the top panel.
Result
The program robot completed successfully.
A new table is created.
Очистить таблицу/Сlear the table
Группа действий: Таблицы
Действие предназначено для удаления данных из таблицы.
Настройки
...
Таблица
...
Особые условия использования
Первая строка считается заголовками таблицы.
При очистке удаляются только данные из ячеек таблицы. Количество ячеек остается прежним.
Пример использования
Задача: имеется таблица в формате CSV . Необходимо очистить таблицу без учета шапки и создать новый изменный документ.
Решение: воспользоваться действиями "Получить таблицу из CSV", "Очистить таблицу", "Сохранить таблицу в CSV".
Реализация:
...
Результат:
Программный робот отработал успешно.
Создана новая таблица