Hi,
I have gone through a few topics on the forum and I've seen some elements of answers but I can't find a definite answer.
I'm trying to display information from another table in the read/edit view. In my example, it's displaying comments against a customer.
Displaying customer information is fine but then displaying all the comments for that customer on the read view is tricky.
The solution, I've seen so far seem to talk about callback and writing your own model.
Without going in and modifying the Grocery CRUD library, how could this be achieved?
tables structure:
CLIENT
id
title
firstName
lastName
COMMENTS
id
comment
clientId <--- id of the client for which the comment relates to (there could be more than one comment per client)
As I'm a grocery CRUD newbie, I'm taking any piece of code you could provide! :rolleyes:
Thanks!