Possible to get record from the table row above current row?
For a custom table action I'm attempting to implement an action to copy the values from the
selectColumn
in the table row above the current one into the selectColumn
of the current row. But I can't figure out how to get the current row index and/or the row above. Is this possible? Thanks in advance!Solution:Jump to solution
Found a way to implement this:
```
private function copyAttributeAbove(string $attribute, Table $table, Task $record): void
{
$records = $table->getRecords();...
1 Reply
Solution
Found a way to implement this: