Skip to content

[CDataTable] Add cell (double-)click event #59

Closed
@darthf1

Description

@darthf1
    "@coreui/coreui": "3.0.0",
    "@coreui/icons": "1.0.1",
    "@coreui/vue": "3.0.0",

Currently the CDataTable has a row-clicked event. I would like to request an additional event when a cell is (double-?) clicked, which should return the cell and value of the clicked cell. We have business logic where the user is redirected to a route based on which cell (header/value) the user has clicked on. With the current available events I don't know which cell/value is clicked.

Could be like this:
http://tabulator.info/docs/4.5/callbacks#cell

Activity

woothu

woothu commented on Feb 27, 2020

@woothu

Because there is no way to add an event on a slot (cells can be represented as slots), modification has been done on the 'row-clicked' event so the third argument with column name string is now available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      [CDataTable] Add cell (double-)click event · Issue #59 · coreui/coreui-vue