Skip to content

selectionType as a variable #995

@nickhellmich

Description

@nickhellmich

I'm submitting a ... (check one with "x")

[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
I'm not exactly sure if this is a bug or if I'm just not implementing properly. I want to change the selectionType on the fly. I realize the [selectionType] wants a value like "'multi" and I've tried several ways to do that.

Expected behavior
I can set selectionType via a variable.

Reproduction of the problem
http://plnkr.co/edit/dEskVNUzz4Npb38s0quX?p=preview

What is the motivation / use case for changing the behavior?
We have users that prefer a variety of selection behaviors depending on the situation.

Please tell us about your environment:
Windows

  • Table version: 0.8.x
    0.8.x

  • Angular version: 2.0.x
    4.2

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
    Any

  • Language: [all | TypeScript X.X | ES6/7 | ES5]
    Typescript 2.4.0

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