Skip to content

Cannot disable first column from being editable #669

@tsolloway

Description

@tsolloway

When I try to disable only the first column (column 0), it doesn't get disabled.

datatable(
    head(iris),
    rownames = FALSE,
    editable = list(target = "column", disable=list(columns=0))
)

Note that disabling columns=1 does work and it disabled the second column and disabling columns=0:1 also works and disables the first two columns. But it doesn't seem possible to disable only the first one. Alternatively, if rownames = TRUE, I can't disable the rownames from being editable.

Tested using DT version 0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions