Timeline for How to set selected elements when creating modal with "createElementSelectorModal()"?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 24, 2015 at 8:24 | comment | added | Douglas McDonald | I suspect that the modal is just responding to mouse and keyboard events via listeners and then adding items to the selectedItems list, which you should be able to trigger programatically. The problem is tracking down which events to trigger on which elements in what order, which is not an easy task. In the end your right though, probably a dead end. | |
Feb 24, 2015 at 7:21 | comment | added | Stalinko | Thanks Douglas but that's not enough in my case. It will just visually highlight the elements, but the modal won't know that it's selected, thus won't include it into selected items when saving. | |
Feb 23, 2015 at 7:16 | history | edited | Douglas McDonald | CC BY-SA 3.0 |
deleted 6 characters in body
|
Feb 23, 2015 at 7:02 | history | answered | Douglas McDonald | CC BY-SA 3.0 |