Skip to content

Setting a particular row border #579

@nitrogene

Description

@nitrogene

Hello,

Is it possible to change a whole row border ? I tried something like:
<BootstrapTable
....
rowStyle={rowStyleMetre}
....

with:
const rowStyleMetre = (row, rowIndex) => {
if (row["Pos"] == this.state.currentRow) {
return { "borderColor": "green", "borderBottomWidth": "thin","borderBottomStyle":"solid" };
//return { "backgroundColor": "#007ACC"};
}
return {};
};

If i use the commented line instead, the background of the "currentRow" is updated.

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions