Skip to content

TreeView: CheckBox support #4

@leviwilson

Description

@leviwilson

TreeView controls have the ability to add checkboxes to them. It would be nice to have the ability to check / uncheck items based on their index or value.

class SomeScreen
  include Mohawk
  window title: /Whatever/

  tree_view(:users, id: 'usersTreeView')
end

s = SomeScreen.new
s.check_users 'First User', 'Second User' # => selects "First User" and "Second User"
s.uncheck_users 'Second User' # => unchecks the "Second User" item

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions