sp-dev-fx-webparts/samples/react-kanban-board
Hugo Bernier 13a85c6daf Upgraded to SPFx 1.10 2020-07-02 22:53:00 -04:00
..
.vscode React kanban (#918) 2019-07-28 13:25:41 +03:00
assets Readme changes 2020-06-30 20:01:28 +02:00
config Package Version to 2.0.0.0 2020-07-02 08:33:30 +02:00
src Cleanup imports 2020-07-02 08:07:33 +02:00
teams React kanban (#918) 2019-07-28 13:25:41 +03:00
.editorconfig React kanban (#918) 2019-07-28 13:25:41 +03:00
.gitignore React kanban (#918) 2019-07-28 13:25:41 +03:00
.yo-rc.json Upgraded to SPFx 1.10 2020-07-02 22:53:00 -04:00
README.md Upgraded to SPFx 1.10 2020-07-02 22:53:00 -04:00
gulpfile.js Update gulpfile.js 2020-04-21 19:44:53 -04:00
package-lock.json Upgraded to SPFx 1.10 2020-07-02 22:53:00 -04:00
package.json Upgraded to SPFx 1.10 2020-07-02 22:53:00 -04:00
tsconfig.json Upgraded to SPFx 1.10 2020-07-02 22:53:00 -04:00
tslint.json React kanban (#918) 2019-07-28 13:25:41 +03:00

README.md

page_type products languages extensions
sample
office-sp
javascript
typescript
contentType technologies platforms createdDate
samples
SharePoint Framework
React
7/17/2019 12:00:00 AM

React Kanban Board Webpart

Summary

This solution contains an SPFx webpart that shows a kanban board using Office UI Fabric components (Office UI Fabric). The webpart uses the default columns of the SharePoint Tasks list for showing the board's columns and the tasks.

picture of the web part in action

Used SharePoint Framework Version

1.10.0

Applies to

Prerequisites

This webpart reads the information from a Tasks list and uses the following OOB columns

  • Task Name
  • Assigned To
  • % Complete
  • Description
  • Priority
  • Task Status

The Task list can be chosen using the webpart properties (BaseTemplate 171 or 107)

Solution

Solution Author(s)
react-kanban-board Ram
react-kanban-board Daniel Westerdale (Westerdale Solutions Ltd., @westerdaled)
react-kanban-board Peter Paul Kirschner (@petkir_at)

Version history

Version Date Comments
1.0.0.0 July 17, 2019 Initial release
1.0.1.0 April 21, 2020 Added support for Teams hosts
2.0.0.0 July 10, 2020 jqwidgets replaced with a custom Kanban Board based on Office UI Component and IE11 Support

Read More about the implementation of this Board

Usage

  • PNP Placeholder control if not Configured
  • PNP WebpartTitle control (toggle Show/Hide in property pane)
  • PNP OrderPropertyPane control (change position of buckets)
  • PNP ListSelectionPropertyPane control (including filtering on BaseTemplateId)
  • Usage of BucketEdit in Pane (Use a component in property pane (custom field))
  • Office UI Fabric
  • PNP JS DataConnection to SharePoint

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

  • Clone this repository
  • in the command line run:
    • npm install
    • gulp serve

Features

This sample highlights the following concepts

  • Binding SharePoint list data to a custom Kanban-Control
  • Updating SharePoint List Items based on events from the custom Kanban-Control

When a task is moved to different columns in the Kanban Board, the status of the respective SharePoint list item is updated using PnP JS