-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add the documentation for the ColumnsResize UI component #6838
Add the documentation for the ColumnsResize UI component #6838
Conversation
An admin must run tests on this PR before it can be merged. |
| `component` | The path to the component's `.js` file, relative to RequireJS. | String | `Magento_Ui/js/grid/resize` | | ||
| `rootSelector` | The CSS selector of a table parent element. | String | `${ $.columnsProvider }:.admin__data-grid-wrap` | | ||
| `tableSelector` | The CSS selector of a table element. | String | `${ $.rootSelector } -> table.data-grid` | | ||
| `mainTableSelector` | The CSS selector of a main table element. | String | `[data-role="grid"]` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, it's a little bit hard to figure out a difference between the table and the main table. If we could clarify the table/main table definition it would be awesome.
Thank you
Hi @rogyar |
Awesome, thank you! |
running tests |
running tests |
Hi @serhiyzhovnir, thank you for your contribution! |
Purpose of this pull request
This pull request (PR) adds the documentation for the ColumnsResize UI component.
The following sections were added for this component:
Configuration options
- this section describes the options of the ColumnsResize UI component and their properties.Sources files
- this section provides information about files that is related to the ColumnsResize UI component.Examples
- this section provides examples of how to use this component.Affected DevDocs pages
The new page will be created with the URL:
Links to Magento source code
whatsnew
Added topic for ColumnsResize UI