Skip to content

Commit

Permalink
Merge pull request #62 from qlik-oss/DEB-233/Selections
Browse files Browse the repository at this point in the history
Handle selection toggle properly
  • Loading branch information
AlbertBackenhof authored May 27, 2019
2 parents 5572b7c + 729a319 commit 072a3b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data-table/data-cell.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ class DataCell extends React.PureComponent {
return;
}

qlik.backendApi.selectValues(0, [measurement.parents.dimension1.elementNumber], true);
qlik.backendApi.selectValues(0, [measurement.parents.dimension1.elementNumber], false);

if (hasSecondDimension) {
qlik.backendApi.selectValues(1, [measurement.parents.dimension2.elementNumber], true);
qlik.backendApi.selectValues(1, [measurement.parents.dimension2.elementNumber], false);
}
}

Expand Down

0 comments on commit 072a3b8

Please sign in to comment.