Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add row-click event to Table #82

Closed
fairking opened this issue Nov 4, 2019 · 0 comments
Closed

Add row-click event to Table #82

fairking opened this issue Nov 4, 2019 · 0 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@fairking
Copy link

fairking commented Nov 4, 2019

Among with a checkbox selection I'd like to have an ability to click on row to redirect user to the details. Is the any way I can do that?

<h3>Checkbox</h3>
<p>Multiple selection can also be handled using checkboxes by enabling the selectionMode property of column as "multiple".</p>
<DataTable :value="cars" :selection.sync="selectedCars" dataKey="vin" 
:row-hover="true">
    <Column selectionMode="multiple" headerStyle="width: 3em"></Column>
    <Column field="vin" header="Vin"></Column>
    <Column field="year" header="Year"></Column>
    <Column field="brand" header="Brand"></Column>
    <Column field="color" header="Color"></Column>
</DataTable>
@fairking fairking changed the title Missing onClick on DataTable row Missing click event on DataTable row Nov 5, 2019
@cagataycivici cagataycivici changed the title Missing click event on DataTable row Add row-click event to Table Nov 20, 2019
@cagataycivici cagataycivici self-assigned this Nov 20, 2019
@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Nov 20, 2019
@cagataycivici cagataycivici added this to the 1.0.0-beta.14 milestone Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants