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.

Select row(s) issues

See original GitHub issue

Describe the bug Select rows is not working like the docs say: http://tabulator.info/docs/4.2/select

Tabulator Info Tabulator 4.2.0

var inv_tags_tbl = new Tabulator("#inv_tags_table", {
    clipboard:true,
    selectable:true,
    selectableRangeMode:"click",
    height: "750px",
    pagination: "local",
    paginationSize: 20,
    layout: "fitDataFill",
    addRowPos: "top",
    columns:[
        {title: "Common", field: "common", dir: "asc", frozen: true, headerFilter: true},
        {title: "Plant#", field: "p_item_no", frozen: true, headerFilter: true, headerFilterFunc: "="},
        {title: "Item Key", field: "item_key", headerFilter: true,
            headerFilterFunc: startWithFilter},
        {title: "Tag#", field: "tag_number", headerFilter: true, headerFilterFunc: "="},
        {title: "UPC", field: "upc_prod", headerFilter: true, headerFilterFunc: startWithFilter},
        {title: "On Hand", field: "tag_oh"},
        {title: "Loc 1", field: "loc_1"},
        {title: "Loc 2", field: "loc_2"}

    ]
});

To Reproduce Steps to reproduce the behavior:

  1. With selectableRangeMode commented out Shift click/drag a range of cells.
  2. Repeat with selectableRangeMode uncommented.

Expected behavior

  1. That a range of rows is selected. Instead only the first and low row in range are selected.
  2. A range of rows is selected. The issue is that you can only untoggle the row selection down to the number of rows -1. In other words there is always one row that cannot be toggled off.

Screenshots 1) screenshot-2019-2-15 cascade cuts

Desktop (please complete the following information): openSUSE 42.3 Firefox 60.5.0esr (64-bit)

Additional context Add any other context about the problem here.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:24 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
olifolkerdcommented, Feb 17, 2019

@aklaver no problem, it wasnt you specifically, just getting bombarded by a lot of people all treating their problems as the end of the world and not understanding that this is a very big library and i have to prioritise things.

There are a lot of issues with mozilla and mouse events. it is likely the same reason as the movable rows issue. Their events don’t fire in the same sequences with the same targets as the other browsers. Its why the drag rows between tables system is still bugged on firefox.

Good idea on the support ticket with them, i will add some detail to it at some point from my investigations.

Not to worry though, i implemented a new system to handle dragging for touch events (they work very differently to mouse events) so im gonna see if i can re-purpose that to handle firefoxes issues in the next release

Cheers

Oli 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Row Selection issue — DataTables forums
I am trying to build an array of accession numbers (GSMxxxxxxx) based on the rows in the table that are currently highlighted. I...
Read more >
Select rows issue in pagination react table - Stack Overflow
Each page is having 10rows. The issue is when I checked the 1st row checkbox of 1st page and when I go to...
Read more >
Power Query having performance issue when choose s...
Solved: hihi profs, need help on power query to choose rows... how to choose all date for the current month and max date...
Read more >
Issues with row selection in a grid - Appian Community
I'm facing some issues with the grid selection in a grid. I'm not sure if it is a bug ... But I noticed,...
Read more >
Issues with table row selection | Vaadin
I have tried to do this using a double click event(isDoubleClick()), but again the event is generating when the row is deselected, but...
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