trait Editable

Methods

bool|void
updateField(mixed $id, string $field, mixed $value)

Update a specific field for a row.

Details

at line 21
bool|void updateField(mixed $id, string $field, mixed $value)

Update a specific field for a row.

Handles inline editing updates. Supports callbacks, Eloquent models, and array data. Dispatches 'table-field-updated' event.

Parameters

mixed $id

The row ID.

string $field

The field/column key to update.

mixed $value

The new value.

Return Value

bool|void

Returns true if successful, false otherwise.