Tabulator: BUG in selectedrows.

Created on 16 Jan 2018  路  4Comments  路  Source: olifolkerd/tabulator

I have a table of one row.
I seledt the row and delete it. I add a new row, now I have apparently 2 selected rows according to
$(tablename).tabulator("getSelectedRows");

seems like the function does not decrement the number of selectedrows when a row is deleted.

To reproduce the error:
-Select a row in your table
-Delete the selected row
-Select a new row
-Call getselectedrows function and print the length of the returned array

Bug Enhancement

All 4 comments

Hey @Rodbjartson

Looks like you have found an issue there, the row does not deselect itself before deletion, i will add this functionality in for the next release.

Cheers

Oli

Hey @Rodbjartson

You will be happy to hear i have just pushed a fix for this to the 3.4 branch, rows are now deselected when deleted.

This will be included in the 3.4 release in a couple of weeks time.

Cheers

Oli :)

Tabulator version 3.4 has now been officially release!

You can find details of the new release in the News Section

Full documentation of all the new features can be found Here

Cheers

Oli :)

@olifolkerd I am still experiencing this error, even though I have updated to 3.5!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sphynx79 picture sphynx79  路  3Comments

AndrewHutcheson picture AndrewHutcheson  路  3Comments

mohanen picture mohanen  路  3Comments

yaxino picture yaxino  路  3Comments

alainpannetier picture alainpannetier  路  3Comments