Call a method on all objects in a selection, and flush the session.
Parameters: |
|
---|
This action can be used either within list_actions or within form_actions.
Delete the selected rows in a table
Duplicate the selected rows in a table
Export all rows in a table to a word document
Export all rows in a table to a spreadsheet
The context for an Action on a table view. On top of the attributes of the camelot.admin.action.application_action.ApplicationActionGuiContext, this context contains :
the QtGui.QAbstractItemView class that relates to the table view on which the widget will be placed.
alias of ListActionModelContext
On top of the attributes of the camelot.admin.action.application_action.ApplicationActionModelContext, this context contains :
the number of selected rows.
the number of rows in the list.
an ordered list with tuples of selected row ranges. the range is inclusive.
the current row in the list
The collection_count and selection_count attributes allow the model_run() to quickly evaluate the size of the collection or the selection without calling the potentially time consuming methods get_collection() and get_selection().
Open a form view for the current row of a list.
Print all rows in a table
Send all rows in a table by mail
Move to the first row in a table
Move to the last row in a table
Move to the next row in a table
Move to the previous row in a table