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

Already on GitHub? Sign in to your account

Make datagrid actions conditional #504

Open
jean opened this Issue Dec 3, 2013 · 3 comments

Comments

Projects
None yet
2 participants
Owner

jean commented Dec 3, 2013

Sometimes I want to present a datagrid that allows editing of rows, but not add/delete.
Currently that requires inline javascript to hide the unwanted actions.
Make it easier to specify what actions should be included.

Owner

ebrehault commented Dec 4, 2013

Right.
It might be added in the datagrid JS settings (we already have plominoDialogOptions, we could have plominoActionsOptions)

Owner

jean commented Dec 4, 2013

Hmm, no need to use JS to do the hiding, that can be done in the page template while rendering. plominoDialogOptions is for use from JS.

Owner

ebrehault commented Dec 4, 2013

ok up to you, so it ilmplies to add an extra param field, but that's fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment