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

TableRow: Draggable="true" not working #3452

Closed
ArneCools opened this issue Feb 15, 2022 · 0 comments
Closed

TableRow: Draggable="true" not working #3452

ArneCools opened this issue Feb 15, 2022 · 0 comments
Assignees
Labels
Type: Bug 🐞 Something isn't working

Comments

@ArneCools
Copy link

Describe the bug
I noticed that setting Draggable="true" on a TableRow doesn't make it draggable.

I also tried setting the DragStart event.

To Reproduce
Steps to reproduce the behavior:

`<Table>
    <TableHeader>
        <TableRow>
            <TableHeaderCell>#</TableHeaderCell>
            <TableHeaderCell>First Name</TableHeaderCell>
            <TableHeaderCell>Last Name</TableHeaderCell>
            <TableHeaderCell>Username</TableHeaderCell>
        </TableRow>
    </TableHeader>
    <TableBody>
        <TableRow Draggable="true">
            <TableRowHeader>1</TableRowHeader>
            <TableRowCell>Mark</TableRowCell>
            <TableRowCell>Otto</TableRowCell>
            <TableRowCell>@@mdo</TableRowCell>
        </TableRow>
        <TableRow>
            <TableRowHeader>2</TableRowHeader>
            <TableRowCell>Jacob</TableRowCell>
            <TableRowCell>Thornton</TableRowCell>
            <TableRowCell>@@fat</TableRowCell>
        </TableRow>
    </TableBody>
</Table>`

I noticed a draggable attribute gets added, but instead of draggable="true", it sets draggable="" .
image

I'm trying to implement "drag and drop" for the DataGrid component for re-ordering a list, that's why I need draggable to be working

Best regards
Arne

@ArneCools ArneCools added the Type: Bug 🐞 Something isn't working label Feb 15, 2022
@stsrki stsrki added this to the 0.9.5 Support milestone Feb 16, 2022
@stsrki stsrki self-assigned this Feb 16, 2022
This was referenced Feb 16, 2022
@stsrki stsrki closed this as completed Feb 16, 2022
@stsrki stsrki added this to Support Aug 3, 2024
@stsrki stsrki moved this to ✔ Done in Support Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐞 Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants