This is not yet possible but definitely worth an entry in the idea forum:
https://forum.mendix.com/link/space/widgets/ideas/4081