Is it somehow possible to access the shelf property of my outer repeater, inside the update event of the sortableOptionsList[0] setting? Update event supplies me the list of UL-Elements but I have to access the element above.
Unfortunately, this has to be done in the controller, by having it assigned to a local var. In case you have multiple lists, you should probably also check which one contains the moved item.
A hacky way that will not work on DisabledDebugInfo invironment would look like this:
ui.item.source.scope().shelf
PS : Didn't actually tested the above code, but it demonstrates the concept of this hacky approach.
Hey,
I got the follow scenario: `
Is it somehow possible to access the shelf property of my outer repeater, inside the update event of the sortableOptionsList[0] setting? Update event supplies me the list of UL-Elements but I have to access the element above.
Hope it's understandable :-/
Thanks for great support!
Unfortunately, this has to be done in the controller, by having it assigned to a local
var
. In case you have multiple lists, you should probably also check which one contains the moved item.A hacky way that will not work on DisabledDebugInfo invironment would look like this:
PS : Didn't actually tested the above code, but it demonstrates the concept of this hacky approach.