Always supplying primary key to table view
coryrose1 opened this issue · comments
Cory Rosenwald commented
Should the primary key of the base model always be passed in $rowData?
What if someone wants to remove the ID column, but still needs the ID for use in links or otherwise?
Similarly, relationships primary key / id. In our demo app, the User
hasOne Address
. For the purposes of the table, we only pull the 'address.city' field. What if we want to link to that address by primary key, but don't want the primary key of the address as a table cell?