This project is archived and is in readonly mode.

#443 ✓resolved
Danny Zitzman

HtmlTable/HtmlTable.select - bug / unintuitive behavior

Reported by Danny Zitzman | November 15th, 2010 @ 04:26 PM | in 1.3.1.1

When using myTable.empty(); on a table with selected row/rows the selected row gets stuck in the _selectedRows object and can not be removed later by any built in method like:

myTable.selectNone();
myTable.deselectRow(trElement);

the objects keeps collecting none existing rows if you keep selecting and emptying the table.

This can be avoided if you make sure to use myTable.selectNone(); before using myTable.empty(); but seem somehow unintuitive.

All the best
Daniel

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The MooTools Extensions

Pages