RowManipulators
trait RowManipulators
Properties
| array | $yatable_expanded_rows | ||
| bool | $yatable_expanded_rows_is_component | ||
| array | $yatable_expanded_rows_content |
Methods
void
removeRowFromTable(mixed $id, bool $resetSelected = true)
Remove a row from the table data (and cache).
void
addRowToTable(array $row)
Add a new row to the table data (and cache).
void
toggleExpandedRow(mixed $rowId, mixed $content, bool $is_component = false)
Toggle the expansion state of a row.
void
updateRowOnTable(mixed $id, array $newData)
Update a row's data in the table (and cache).
void
expandMobileRow(mixed $rowId)
Expand the mobile details view for a row.
void
toggleBoolean(mixed $id, string $column)
Toggle a boolean column value for a row.
Details
at line 32
void
removeRowFromTable(mixed $id, bool $resetSelected = true)
Remove a row from the table data (and cache).
at line 50
void
addRowToTable(array $row)
Add a new row to the table data (and cache).
at line 69
void
toggleExpandedRow(mixed $rowId, mixed $content, bool $is_component = false)
Toggle the expansion state of a row.
at line 95
void
updateRowOnTable(mixed $id, array $newData)
Update a row's data in the table (and cache).
at line 113
void
expandMobileRow(mixed $rowId)
Expand the mobile details view for a row.
at line 139
void
toggleBoolean(mixed $id, string $column)
Toggle a boolean column value for a row.
Dispatches trigger method if defined on the column.