Skip to content

Commit 44390f7

Browse files
Add new property to allow for an array of default selected items to be passed
1 parent 4264f0a commit 44390f7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/controls/listView/IListView.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Selection, SelectionMode } from 'office-ui-fabric-react/lib/DetailsList';
2-
import { IColumn ,IGroup} from 'office-ui-fabric-react/lib/components/DetailsList';
2+
import { IColumn, IGroup } from 'office-ui-fabric-react/lib/components/DetailsList';
33

44
export { SelectionMode };
55

@@ -18,6 +18,10 @@ export interface IListViewProps {
1818
* The items to render.
1919
*/
2020
items: any[];
21+
/**
22+
* The items to select by default.
23+
*/
24+
selectIems?: any[];
2125
/**
2226
* The fields you want to view in your list view
2327
*/

0 commit comments

Comments
 (0)