Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ $(document).ready(function () {
| **headerRenderer** | string<br>*or*<br>function(rows)<br>*or*<br>false (bool) | What to display as the context menu's header.<br><br>Can be a static string or a function of the rows selected.<br><br>Set to `false` to skip rendering a header. | `''` |
| **headerIsFollowedByDivider** | bool | Controls if a divider is automatically added next to the header. (Ignored, if header is set to `false`.) | `false` |
| **showStaticOptions** | bool | Whether or not to display `static` items in the context menu | `false` |
| **showAffectedItemCount** | bool | Whether or not to display the count of affected items next to an action's title when multiple rows are selected. This can be overridden on a per-item basis. | `true` |
| **startsNewSelection** | bool | Whether or not to start a new selection (deselect other rows) when `isMulti` is `true` and a non-selected row is right-clicked | `false` |

## options.buttonList
Expand All @@ -98,6 +99,7 @@ $(document).ready(function () {
| **multi** | bool | Whether or not to enable this button when more than 1 rows are selected | `false` |
| **title** | string | <br>What the option is named.<br>The title is rendered as:<br><ul><br><li>In buttons: the button text</li><br><li>In buttons when `iconOnly` is `true`: the button's tooltip</li><br><br><li>In context menus: the dropdown option's text</li><br><br><ul> | '' |
| **multiTitle** | string | The `title` (above) to render when more than 1 rows are selected | '' |
| **showAffectedItemCount** | bool | Overrides the global `contextMenu.showAffectedItemCount` setting for this specific item. Set to `true` to show the count, or `false` to hide it. If undefined, the global setting is used. | (inherits from `contextMenu.showAffectedItemCount`) |
| **iconClass** | string | The class of the `<i></i>` styled icon to render.<br>For example, if `iconPrefix` is `'fa fa-fw'` and `iconClass` is `'fa-eye'`, then `<i class="fa fa-fw fa-eye"></i>` is rendered.<br><br>Leave blank to render no icon. | `''` |
| **classes** | string[] | An array of CSS classes to add onto the rendered item (either the button or the<br>dropdown option) | `[]` |
| **contextMenuClasses** | string[] | An array of CSS classes to add onto the rendered item (ONLY the<br>dropdown version) | `[]` |
Expand Down
Loading