question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expanded Row - How can I remove expand all functionality from header but I need in individual row

See original GitHub issue

I am doing something like below const expandRow = { renderer: row => ( <div> <p>{ This Expand row is belong to rowKey ${row.id} }</p> <p>You can render anything here, also you can add additional data on every row object</p> <p>expandRow.renderer callback will pass the origin row object to you</p> </div> ), showExpandColumn: true, expandByColumnOnly: true, onlyOneExpanding: true, }; Now my concern is how to remove the expand all functionality in header

Screenshot -> image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
sivabankapallicommented, May 16, 2021

I tried with the below code and able to make it work:

expandHeaderColumnRenderer: (isAnyExpands) => (null )

Update the CSS:

.expand-cell-header { pointer-events: none; }

0reactions
Ryota201commented, Mar 7, 2022

hello, how can you add the arrows with css in this library to disable the showExpandColumn or just by chance is there any solution currently to remove the expansion of all header functions?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Collapse or expand parts of a document - Microsoft Support
To collapse or expand all the headings in your document, right-click the heading and click Expand/Collapse > Expand All Headings or Collapse All...
Read more >
How to Expand and Collapse Pivot Table Fields Levels
To see the details for all items in the selected pivot field, click Expand Entire Field. In this example, that will expand all...
Read more >
How to group rows in Excel to collapse and expand them
In case you want to remove all row groups at once, then clear the outline. If you want to remove just some of...
Read more >
Expand & collapse matrix row headers - Analytikus
There are two ways you can expand row headers. The first is through the right-click menu. You'll see options to expand the specific...
Read more >
How to Use the Excel Collapse Rows Feature? — 4 Easy Steps
How to Clear Collapsed Rows? ... The hidden rows can be brought back by clicking on the Data -> Outline -> Ungroup –...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found