@@ -40,6 +40,23 @@ The following section details AgGrid Table component's specific settings. For mo
40
40
| :-------------: | :---------: | :---------: | :-----: | --------------- |
41
41
| ` Array<Object> ` | true | false | | The table data. |
42
42
43
+ ## Controls
44
+
45
+ [ getAgGrid] ( ../3_app-runnable-panel.mdx#getaggrid ) : Use the ` getAgGrid ` function to get the ag-grid instance of a table.
46
+
47
+ [ setSelectedIndex] ( ../3_app-runnable-panel.mdx#setselectedindex ) : Use the ` setSelectedIndex ` function to select a row in a table or an AG Grid table.
48
+
49
+ ## Table Actions
50
+
51
+ ` AgGrid Table ` can define actions that will be displayed in each row of the table. An action is a component that cannot be moved.
52
+
53
+ Available components are:
54
+ - [ Button] ( ./button.mdx )
55
+ - [ Toggle] ( ./toggle.mdx )
56
+ - [ Select] ( ./select.mdx )
57
+
58
+ ![ AgGrid Actions] ( ../../assets/apps/4_app_component_library/aggrid_actions.png " AgGrid Actions ")
59
+
43
60
## AgGrid Table configuration
44
61
45
62
| Name | Type | Connectable | Templatable | Default | Description |
@@ -58,10 +75,10 @@ The following section details AgGrid Table component's specific settings. For mo
58
75
59
76
| Name | Type | Description |
60
77
| ---------------- | :-----: | ----------------------------------------------- |
61
- | result | Object | The AgGrid table data. |
78
+ | result | object | The AgGrid table data. |
62
79
| loading | boolean | The loading state of the AgGrid table component |
63
- | selectedRow | Object | The selected row |
80
+ | selectedRow | object | The selected row |
64
81
| selectedRowIndex | number | The selected row index |
65
- | selectedRows | Array | The selected rows |
82
+ | selectedRows | array | The selected rows |
66
83
| page | number | The current page |
67
- | newChanges | Object | The latest updated row |
84
+ | newChanges | object | The latest updated row |
0 commit comments