I need to display a table inside the PropertyPane of Client side webpart with New SharePoint development framework.I can see we have property like Toggle, TextField, Button, ChoiceGroup,Dropdown etc under the PropertyPane-> PropertyPaneFields Folder. is it possible to have table control as well in property Pane.
-
not yet... there is no table as property in the new SPFx– Melad BattaDec 16, 2016 at 7:35
-
I understand currently we dont have the Table Property, i would like to know, whether its possible by any other way– vinit kumarDec 17, 2016 at 8:22
-
I dont know if it's possible to use React Table, you can give it a try React Table– Melad BattaDec 19, 2016 at 7:24
2 Answers
Yes - you can create your own control. Check out this page here - https://dev.office.com/sharepoint/docs/spfx/web-parts/guidance/build-custom-property-pane-controls
There have been changes, so the documentation might be a bit out of date.
yes, see https://github.com/russgove/spfxreactgrid for an example. you put a button in the property pane, that opens a pupup when clicked.