Skip to content

QTableView does not expose "setSelectionBehavior" function #1015

@szymonszewcjr

Description

@szymonszewcjr

Describe the bug
QTableView does not expose "setSelectionBehavior" function

To Reproduce
Steps to reproduce the behavior:

  1. Go to create a new QtableView
  2. try setting Selection behavior to SelectRow (QAbstractItemViewSelectionBehavior enum)
  3. find out that "setSelectionBehavior" function does not exist.

Expected behavior
I expect to be able to set table up to select rows with one click

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11
  • NodeGUI @nodegui/nodegui@0.61.0
  • OS Windows 11 Version22H2 (OS Build 22621, 1848)

Additional context

API docs list this function as present, it is not.
https://docs.nodegui.org/docs/api/generated/classes/qtableview/#setselectionbehavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions