Skip to content

Commit 4a86a90

Browse files
committed
update doc to ListItemPicker
1 parent a5be449 commit 4a86a90

File tree

1 file changed

+76
-7
lines changed

1 file changed

+76
-7
lines changed

docs/documentation/docs/controls/ListItemPicker.md

Lines changed: 76 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,82 @@ private onSelectedItem(data: { key: string; name: string }[]) {
4545

4646
The `ListItemPicker` control can be configured with the following properties:
4747

48-
48+
<table style="width: 100%; height: 786px;">
49+
<tbody>
50+
<tr>
51+
<th style="width: 220px;">Property</th>
52+
<th>Type</th>
53+
<th style="width: 85px;">Required</th>
54+
<th>Description</th>
55+
</tr>
56+
<tr>
57+
<td>listId</td>
58+
<td>string</td>
59+
<td>yes</td>
60+
<td>Gui of List</td>
61+
</tr>
62+
<tr>
63+
<td>columnInternalName</td>
64+
<td>string</td>
65+
<td>yes</td>
66+
<td>InternalName of column to search and get values</td>
67+
</tr>
68+
<tr>
69+
<td>onSelectedItem: (item:any) =>void;</td>
70+
<td>function</td>
71+
<td>yes</td>
72+
<td>Callback function</td>
73+
</tr>
74+
<tr>
75+
<td>className</td>
76+
<td>string</td>
77+
<td>no</td>
78+
<td>CSS className</td>
79+
</tr>
80+
<tr>
81+
<td>webUrl</td>
82+
<td>string</td>
83+
<td>no</td>
84+
<td>URL of site if different of current site, user must have permissions</td>
85+
</tr>
86+
<tr>
87+
<td>value</td>
88+
<td>Array</td>
89+
<td>no</td>
90+
<td>Default Value</td>
91+
</tr>
92+
<tr>
93+
<td>disabled</td>
94+
<td>Boolean</td>
95+
<td>no</td>
96+
<td>Disable Control</td>
97+
</tr>
98+
<tr>
99+
<td>itemLimit</td>
100+
<td>number</td>
101+
<td>yes</td>
102+
<td>Number os items to select / return</td>
103+
</tr>
104+
<tr>
105+
<td>context</td>
106+
<td>WebPartContext|ApplicationCustomizerContext</td>
107+
<td>yes</td>
108+
<td>WebPart or Application customiser context</td>
109+
</tr>
110+
<tr>
111+
<td>sugestedHeaderText</td>
112+
<td>string</td>
113+
<td>no</td>
114+
<td>Text header to display</td>
115+
</tr>
116+
<tr>
117+
<td>noresultsFoundTextstring</td>
118+
<td>string</td>
119+
<td>no</td>
120+
<td>Text message when no items</td>
121+
</tr>
122+
</tbody>
123+
</table>
49124

50-
Enum `LibsOrderBy`
51-
52-
| Value |
53-
| ---- |
54-
| Id |
55-
| Title |
56125

57126
![](https://telemetry.sharepointpnp.com/sp-dev-fx-controls-react/wiki/controls/ListItemPicker)

0 commit comments

Comments
 (0)