Widget Owner
If I've got a table widget in a view page (
ViewRecord
)...how am I getting the model of the record I am viewing ?
tried getOwnerRecord()3 Replies
You need to define the
$record
property.
Then you can access the model through $record
Thanks, I'll have a go at that.
Assume that delcaration is just going in the widget class ?
Yes