X3M Thank you, I see. I ended up forking the official array plugin and adding the needed functionality with a new method. Neither elegant nor clean, but it does the job.
rexrainbow I tried to understand in the code how you link to the array, but it seems to be beyond my JS skills... Thank you anyway, I hop to find some time to study the source code of your plugins, I guess I can learn a lot.