Hello @johnny ,
I have a few ideas to add features to digrocery crud to make it more powerful and beneficial for programmers. Perhaps if you don’t mind, you could consider disregarding my ideas. I’ve actually implemented these ideas in Grocery CRUD, but I mixed them up with less clean code. So, if these features were to be included in the official Grocery, it would certainly be better.
Variations of button types in the grid:
-
Prompt: If a button is created with this category, when the user clicks the button, a prompt will appear with yes and no buttons, similar to the delete button that is already present in digrocery crud. I usually use this for actions like setting active or inactive for a particular record/multiple records.
-
Modal: If the user clicks this button, a modal iframe will appear, another page within the project.
-
Ajax: If the user clicks this button, an ajax form will appear, allowing the user to input specific data for the selected row.
For each of these types, it would be good to have an option to refresh the grid after the modal/prompt disappears.
Regards
Nasrul

