#1869 closed enhancement (fixed)
Return number of selected items in a list
Reported by: | Nicklas Nordborg | Owned by: | everyone |
---|---|---|---|
Priority: | minor | Milestone: | BASE 3.3.2 |
Component: | web | Version: | |
Keywords: | Cc: |
Description
When selecting items from a list in the GUI, the selected items are returned one by one to the caller by sending one 'base-selected' event for each selected item.
While this is ok in most cases, there are cases that require some special action to be taken after all items has been sent. Typically this situation is "solved" by performing the special action after every item.
It would be nice if the selected items could either be sent as a list or include a counter + total selected items in each event.
Change History (2)
comment:1 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 8 years ago by
Summary: | Return selected items as a list → Return number of selected items in a list |
---|
Note: See
TracTickets for help on using
tickets.
(In [6564]) Fixes #1869: Return selected items as a list
Implemented this in a different way. Instead of returning a list an extra field 'remaining' was added to the
event.detail
object which is a counter counting down to 0. Whenevent.detail.remaining==0
the last selected item has been returned.