-
Notifications
You must be signed in to change notification settings - Fork 1
Support for mass actions (batch) #5
Comments
hmm, I need to right now add action buttons column, how to do it? please urgent @sstok I am stumped |
I sent you a gist over skype, please check asap @sstok 👍 |
https://github.com/rollerworks/rollerworks-datagrid/blob/master/tests/DatagridPerformanceTest.php#L56-L76 shows to add action links for a record. Mass actions (select multiple records) "is" possible but I haven't figured out a good way to handle this. I will be completely available tomorrow 👍 |
I don't need mass actions but just regular actions i guess. This helps a bit, thanks, going to try to figure it out myself 👴 |
solved it @sstok thanks 👍 see you tomorrow first time 👴 |
@sstok one last question, where is the %d value of the placeholdr coming from and how can i provide it? |
Technical note: Handle batch operations using the Checking if the operation is legal is something the Command handler must do, for the sake of DX the command handler can throw Batch operations should not change the state of the datagrid, but instead re-render the complete datagrid (reload the page); as checking all rows is to slow. The selectedRowsData information is provided by the field_mapping option. |
The action configuration is kept separate from the actual execution of the action (handler).
The text was updated successfully, but these errors were encountered: