QTable Multi-Select selects one row, but visually selects all rows

  • Hello, I have a QTable with multi-select and my key is an id. When I select one checkbox I can see that only the corresponding row is selected in the underlying model (this.selected contains only the selected row´s data).
    But visually all rows have been selected. It seems that the key is not unique, but you can see in the table data, that it is unique (see the ID table column).

    Here is a working example: https://codesandbox.io/s/codesandbox-app-ory6f

    Can someone explain to me what I am doing wrong?


Log in to reply