Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always supplying primary key to table view #9

Open
coryrose1 opened this issue Nov 19, 2019 · 0 comments
Open

Always supplying primary key to table view #9

coryrose1 opened this issue Nov 19, 2019 · 0 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@coryrose1
Copy link
Owner

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?

@coryrose1 coryrose1 added help wanted Extra attention is needed question Further information is requested labels Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant