[ADF-3196] fixed task selection and double click (#3484)

This commit is contained in:
Vito
2018-06-14 16:42:28 +01:00
committed by Eugenio Romano
parent c0de0d5087
commit af2cde0791
7 changed files with 22 additions and 57 deletions

View File

@@ -271,7 +271,6 @@ export class DataTableDemo {
| rowStyle | `string` | | The inline style to apply to every row. See [NgStyle](https://angular.io/docs/ts/latest/api/common/index/NgStyle-directive.html) docs for more details and usage examples. |
| rowStyleClass | `string` | "" | The CSS class to apply to every row. |
| rows | `any[]` | \[] | The rows that the datatable will show. |
| selectFirstRow | `boolean` | true | Toggles the first row selection. |
| selectionMode | `string` | "single" | Row selection mode. Can be none, `single` or `multiple`. For `multiple` mode, you can use Cmd (macOS) or Ctrl (Win) modifier key to toggle selection for multiple rows. |
| showHeader | `boolean` | true | Toggles the header. |
| sorting | `any[]` | \[] | Define the sort order of the datatable. Possible values are : [`created`, `desc`], [`created`, `asc`], [`due`, `desc`], [`due`, `asc`] |

View File

@@ -53,7 +53,7 @@ Renders a list containing all the tasks matched by the parameters specified.
| page | `number` | 0 | The page number of the tasks to fetch. |
| processDefinitionKey | `string` | | **Deprecated:** 2.4.0 |
| processInstanceId | `string` | | The Instance Id of the process. |
| selectFirstRow | `boolean` | true | |
| selectFirstRow | `boolean` | true | Automatically tries to select the first row if a landingTaskId is not given |
| selectionMode | `string` | "single" | Row selection mode. Can be none, `single` or `multiple`. For `multiple` mode, you can use Cmd (macOS) or Ctrl (Win) modifier key to toggle selection for multiple rows. |
| size | `number` | [`PaginationComponent`](../core/pagination.component.md).DEFAULT_PAGINATION.maxItems | The number of tasks to fetch. Default value: 25. |
| sort | `string` | | Define the sort order of the tasks. Possible values are : `created-desc`, `created-asc`, `due-desc`, `due-asc` |