DataTable onSelect does not pin header checkbox
See original GitHub issueExpected Behavior
If caller provides pin
on DataTable while also using onSelect
or select
, the checkbox in the header of the table should remain fixed with the rest of the header cells.
Actual Behavior
The checkbox scrolls away and does not stay pinned/
URL, screen shot, or Codepen exhibiting the issue
Steps to Reproduce
- Create DataTable
- Apply
pin
- Apply
onSelect={() => {}}
(to display checkboxes) - Scroll
Your Environment
- Grommet version: Stable
- Browser Name and version: Chrome Version 89.0.4389.82
- Operating System and version (desktop or mobile): Mac OS
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to add a select-checkbox in header ? — DataTables forums
I would like to add a select-checkbox in header in order to have a 'select all' / 'unselect all' features.
Read more >DataTable - Grommet
'pin' indicates that this column should not scroll out of view to the left when the table is scrolled horizontally. 'plain' = true...
Read more >Datatable click event on header not working - Stack Overflow
Try above code first to check if the event is being triggered or not. If you get the alert there is another issue...
Read more >jquery datatable header and body not aligned - You.com
I have a select combobox to show/hide a div where there's a DataTable. The problem is that when the div is shown the...
Read more >Vuetify v-data-table with selected rows and custom ... - CodePen
Sort by Sort by Sort by Sort by Sort by
Dessert (100g serving) Custom Frozen Yogurt Calories. 159 Fat (g). 6 Carbs (g). 24
Dessert...
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 FreeTop 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
Top GitHub Comments
Alex is working on this …
Thanks for confirming @ericsoderberghp. @AkshayChoulwar are you good to still work on this?