🌐 AI搜索 & 代理 主页
Skip to content

Add a _trClass and / or _trAttr property to <b-table> items #1864

@kbirk

Description

@kbirk

Currently there are the tdClass and tdAttr properties for the table fields. It would be really nice to have something similar for the table items. Such as _trClass or _trAttr per item which would be injected in each row in the table.

My use case requires injecting a row-unique value into each row's DOM element to interface with another 3rd party library. This row-unique value is not displayed in the table so I can't acheive this in a roundabout way using the existing tdClass / tdAttr callback functions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions