Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Add SelectionProvider #6759

Merged
merged 5 commits into from
Mar 9, 2020
Merged
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 src/guides/v2.3/ui_comp_guide/components/ui-insertlisting.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The InsertListing component inserts [Listing]({{ page.baseurl }}/ui_comp_guide/c
| `realTimeLink` | Enable the link between insertListing's externalValue and value. Here `link` means the two-way [links property]({{ page.baseurl }}/ui_comp_guide/concepts/ui_comp_linking_concept.html#links-property) of UI components, which allows immediate update. | Boolean | `true` |
| `render_url` | With default `render_url(mui/index/render)` listing will be without buttons. For get a list with buttons url must be changed to `mui/index/render_handle` and the following GET parameters:<br /> buttons=1 (flag to get buttons)<br /> handle= (buttons scope) | String | `'mui/index/render'` |
| `update_url` | Where the AJAX request will go to retrieve, foster component update data. It will be in json format by default and will be automatically set into `externalProvider.data` | String | `'mui/index/render'` |
| `selectionsProvider` | The source selector for Ajax request of the main form through the identifier of the 'selectionColumns' | String | null |

## Source files

Expand Down Expand Up @@ -49,6 +50,7 @@ The following example shows how the InsertListing component integrates with the
<imports>true</imports>
</dataLinks>
<autoRender>true</autoRender>
<selectionsProvider>insert_listing_example.insert_listing_example.columns.ids</selectionsProvider>
<dataScope>insert_listing_example</dataScope>
<ns>insert_listing_example</ns>
</settings>
Expand Down