I’m currently trying to create a scrollable table with sticky fixed top and left headings, so that as the user scrolls the headings remain in view:
If I only want either a fixed top or a side header, I can do this with one nested ScrollView
within another, But I’d like both :]
Thus I want to sync the ScrollPosition.y
of the body and left heading, and the ScrollPosition.x
of the body and top heading.
I’ve attempted using observers, but sadly ScrollView
s only read from ScrollPosition
observers, they don’t write.
I’ve also tried doing things like
<ScrollingAnimation>
<Set Target="topHeader.ScrollPosition.x" Value="body.ScrollPosition.x" />
</ScrollingAnimation>
but it seems I can’t access object properties within Set
triggers.
Can anyone help? <3