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.

selection not shown

See original GitHub issue

Describe the bug when selecting a row by code (dataTableClusters.selectRow(e.target.id)😉 in a multiple page tabulator, the selection doesn’t change the page or scroll down if there is a scroll. By the way, the previous selection stay, we have to use the deselectRow()

Tabulator Info

  • Tabulator 4.2.7
  • Here is my tabulator intialisation: dataTableClusters = new Tabulator("#table-clusters", { layout: "fitColumns", //fit columns to width of table //responsiveLayout: "hide", //hide columns that dont fit on the table tooltips: true, //show tool tips on cells pagination: "local", //paginate the data paginationSize: 7, //allow 7 rows per page of data movableColumns: true, //allow column order to be changed resizableRows: true, //allow row order to be changed selectableRollingSelection:false, selectable: 1, height: "380px", columns: columns, rowClick: (e, row) => { let points = row.getData().points; let coords = row.getData().coords; let id = row.getData().id; showPoints(points, id); map.fitBounds(coords); } });

To Reproduce dataTableClusters.selectRow(e.target.id);

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tentuscommented, Jul 8, 2019

Like I said, you’ll want to tweak the code I provided, because the UX isn’t perfect. In the case of that poly, perhaps the scrollTo and pageTo are firing out of sequence, so experiment with the Promises the methods return to see what works best.

0reactions
olifolkerdcommented, Jul 20, 2019

Hey @lcaouen

This is the correct behaviour for Tabulator, selecting the row programatically only selects it, it dosnt bring it into view. if that is your desired result you will need change the page yourself.

Cheers

Oli 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Selection not visible - Blender Stack Exchange
I'm working on a project in Blender 2.8. Somehow after importing a few OBJ into the scene (not sure if it's related), my...
Read more >
Selection window not displayed when selecting multiple ...
On the command line, type in OPTIONS, and hit enter. Click the Selection tab. Under Selection Modes, select Implied Windowing.
Read more >
Selection Tool - not showing box when shape is selected?
When I am using the Selection Tool, it doesn't show the box it did before round the selected shape. So I can't alter...
Read more >
Selection not showing on Mac OS Big Sur 11 though ... - GitLab
If the item is checked, and you still don't see your selection boundaries, then there is indeed a bug. The main problem is...
Read more >
Select box not showing the selected option first - Stack Overflow
I am using angular 6 and i am unable to display the selected option as default in select box,. HTML consists, <select class="form-control ......
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