diff --git a/src/components/DetailsList/DetailsList.tsx b/src/components/DetailsList/DetailsList.tsx index db51a43a48286d..11e4274386d2df 100644 --- a/src/components/DetailsList/DetailsList.tsx +++ b/src/components/DetailsList/DetailsList.tsx @@ -236,43 +236,43 @@ export class DetailsList extends React.Component ) } - -
- (ev.which === getRTLSafeKeyCode(KeyCodes.right)) } - onActiveElementChanged={ this._onActiveRowChanged } - > - - { groups ? ( - - ) : ( - + (ev.which === getRTLSafeKeyCode(KeyCodes.right)) } + onActiveElementChanged={ this._onActiveRowChanged } + > + + { groups ? ( + this._onRenderCell(0, item, itemIndex) } - { ...additionalListProps } - ref='list' + onRenderCell={ this._onRenderCell } + selection={ selection } + selectionMode={ selectionMode } + dragDropEvents={ dragDropEvents } + dragDropHelper={ dragDropHelper } + eventsToRegister={ rowElementEventMap } + listProps={ additionalListProps } + ref='groups' /> - ) - } - - + ) : ( + this._onRenderCell(0, item, itemIndex) } + { ...additionalListProps } + ref='list' + /> + ) + } + + +
); diff --git a/src/components/DetailsList/DetailsRow.tsx b/src/components/DetailsList/DetailsRow.tsx index f325540c245686..e10c428eb24361 100644 --- a/src/components/DetailsList/DetailsRow.tsx +++ b/src/components/DetailsList/DetailsRow.tsx @@ -176,6 +176,7 @@ export class DetailsRow extends React.Component { (selectionMode !== SelectionMode.none) && (