Skip to content

Commit

Permalink
updated docs for new grid control
Browse files Browse the repository at this point in the history
  • Loading branch information
joelfmrodrigues committed May 14, 2024
1 parent 1b67c3f commit 83ff665
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/documentation/docs/controls/PropertyFieldGrid.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ const gridItems:IItem[] = [
styles: {padding: 10},
isVisible: true,
maxHeight: 500,
column1Label: 'File',
column2Label: 'Location',
onSelected: (item: IItem[]) => {
console.log(item);
}
Expand All @@ -81,5 +83,7 @@ The `PropertyFieldGrid` control can be configured with the following properties:
| onSelected | item[] | no | selected Items when are selected |
| items | IItem[] | yes | Items to show |
| multiSelect | boolean | no | Enable multiSelect , default single |
| column1Label | string | no | Label for header of first grid column |
| column2Label | string | no | Label for header of second grid column |
![](https://telemetry.sharepointpnp.com/sp-dev-fx-property-controls/wiki/PropertyFieldGrid)
1 change: 1 addition & 0 deletions docs/documentation/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ The following controls are currently available:
- [PropertyFieldDateTimePicker](./controls/PropertyFieldDateTimePicker) (Property pane date and time selector)
- [PropertyFieldFilePicker](./controls/PropertyFieldFilePicker) (Property pane file picker)
- [PropertyFieldFolderPicker](./controls/PropertyFieldFolderPicker) (Property pane folder picker)
- [PropertyFieldGrid](./controls/PropertyFieldGrid) (Property pane Grid control)
- [PropertyFieldGuid](./controls/PropertyFieldGuid) (Property pane GUID editor)
- [PropertyFieldIconPicker](./controls/PropertyFieldIconPicker) (Property pane icon picker)
- [PropertyFieldListPicker](./controls/PropertyFieldListPicker) (Property pane list selector)
Expand Down
1 change: 1 addition & 0 deletions docs/documentation/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ nav:
- PropertyFieldEnterpriseTermPicker: 'controls/PropertyFieldEnterpriseTermPicker.md'
- PropertyFieldFilePicker: 'controls/PropertyFieldFilePicker.md'
- PropertyFieldFolderPicker: 'controls/PropertyFieldFolderPicker.md'
- PropertyFieldGrid: 'controls/PropertyFieldGrid.md'
- PropertyFieldGuidPicker: 'controls/PropertyFieldGuid.md'
- PropertyFieldIconPicker: 'controls/PropertyFieldIconPicker.md'
- PropertyFieldListPicker: 'controls/PropertyFieldListPicker.md'
Expand Down

0 comments on commit 83ff665

Please sign in to comment.