Feature Request: An event to fire after a table select is done.

Feature Request: An event to fire after a table select is done.

BingCommanderBingCommander Posts: 5Questions: 3Answers: 0

I'm using the select plugin on a table and have logic which triggers based on how many rows the user has selected.
The possibilities are: No Rows, One Row, and Multiple Rows
I was triggering my logic off of the 'Select' and 'Deselect' events, but this causes a problem when I select a new row while another is already selected. The deselect and select events both fire, triggering two of my conditions back to back. I fixed this problem by adding my own 'Select-Done' event to the code, and think it might be nice feature to officially have in the code.

Replies

  • allanallan Posts: 63,852Questions: 1Answers: 10,519 Site admin

    That's not a bad idea at all - thanks for the suggestion! Any chance of a pull request? :smile: selectComplete would probably be in keeping with the naming.

    Allan

This discussion has been closed.