Highlight AnalyticalTable
See original GitHub issueHello, I have a table with a button in one of the cells. When clicking the button, it open a window and I also want the relevant row in the table to be highlighted.
Appreciate ideas 😃 Thanks!
<AnalyticalTable
header={
<FlexBox
className="m-2.5 w-full"
justifyContent="SpaceBetween"
>
<Title
level="H2"
style={{ paddingLeft: '5px' }}
className="font-sapFontFamily font-black leading-5 text-base text-[#1D2D3E]"
>
<b>Top 20</b>
</Title>
</FlexBox>
}
columns={[
{
Header: 'Name',
accessor: 'class_desc',
disableResizing: true,
},
{
Header: 'Suppliers',
accessor: 'supplier_count',
disableResizing: true,
width: 90,
hAlign: 'Right',
},
{
Header: '% Total',
accessor: 'total_perc',
disableResizing: true,
width: 120,
hAlign: 'Right',
},
{
Header: '',
id: 'supplier-actions',
width: 70,
disableResizing: true,
Cell: ({ row }) => {
return (
<FlexBox>
<Button
icon="edit"
onClick={() => {
navigate(
`? open some page`
)
}}
/>
</FlexBox>
)
},
},
]}
data={currCategories}
loading={loading}
visibleRows={numRows.toString()}
></AnalyticalTable>
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
sap.ui.table.AnalyticalTable - API Reference - Demo Kit
Description: In an AnalyticalTable control you can only select indices, which correspond to the currently visualized tree. Invisible nodes (e.g. collapsed child ...
Read more >Analytical Table: Highlight Rows · Issue #461 - GitHub
You can enable row highlights by setting the prop withRowHighlight on the AnalyticalTable and pass a field accessor highlightField where the ...
Read more >Analytical Table (ALV) | SAP Fiori Design Guidelines
An analytical table contains a set of data that is structured in rows and columns. It provides several powerful possibilities for working with...
Read more >How to make analytical table display more rows SAP FIORI
Im looking for a way to make the table show maybe 10 rows or something. Here is a picture of the table: As...
Read more >Analytical Table of Contents - Kant's Analytic
Analytical Table of Contents. Published online by Cambridge University Press: 03 May 2011. Jonathan Bennett. Show author details ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks @Lukas742 for helping in both options.
This looks more like the default selection behavior to me, if this is really meant for indication of navigation only, this could be confusing when working with tables in different applications.
To change the background color of the row you can create a plugin hook and add/overwrite styles there. codeSandbox