You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,24 @@
1
-
## Sharepoint Framework 1.11.0: complex LIST and FORM sample
1
+
## Sharepoint Framework: Complex LIST and FORM sample
2
2
3
-
The following sample List and Form Sharepoint Framework (SPFx) component is based on SPFx 1.11.0 for Sharepoint Online.
3
+
The following sample List and Form Sharepoint Framework (SPFx) component is based on SPFx 1.11.0 for Sharepoint Online using React.
4
4
5
5
It demonstrates the complex List and Form scenario for Sharepoint List items. We frequently require to provide a web part with advanced List with filtering, paging and custom column selection, similar to native Sharepoint list experience. The second part is Form with advanced controls like DatePicker, PeoplePicker, custom external REST calls, validation, PDF generation for printing/archiving purposes, etc.
6
6
7
7
It is a fully functioning and working component, ready to be customized and deployed. Most of the other online samples, documents and tutorials provide just incomplete parts of the whole solution. I would like to provide you with a full package when all is connected together.
8
8
9
9
The solution contains 2 main SPFx components, optimized in Responsive design for Modern SharePoint Sites:
10
10
11
-
## LIST
11
+
###LIST
12
12
Configurable responsive list of SPListItems:
13
13
14
14
* Selectable columns from the source SPList with configurable order
15
15
* Filtering
16
16
* Sorting by column names
17
17
* Paging
18
+
19
+

18
20
19
-
## FORM
21
+
###FORM
20
22
Complex form component for Add or Edit action:
21
23
22
24
* Includes custom PeoplePicker
@@ -27,8 +29,12 @@ Complex form component for Add or Edit action:
27
29
* Approval process based on State lookup list
28
30
* When item is "approved" (last state is set), custom PDF can be generated in browser for printing or archive purposes
29
31
* When the page is called without querystring, New Item Form is used. When call with ?A=Edit&poid=XXX, where XXX is ID of existing list item, the Edit Form is used.

30
36
31
-
External packages in the solution:
37
+
### External packages in the solution:
32
38
33
39
* PnP libraries for SPO Lists: https://pnp.github.io/pnpjs/
0 commit comments