Sorting multiple subfiles at once
Posted: Tue Sep 19, 2017 5:17 pm
This is an expansion of this topic - I thought that this is deviating too much from that topic, and thought it would be best to start a new topic.
I'm trying to emulate a subfile where the first few columns appear to be "frozen", allowing certain information not to disappear from view, when the end-user is scrolling to the right.
I would like the ability to sort either subfile - but because of the technique used to emulate "freezing" certain columns is utilizing two subfiles, the sort (and other functions such as filter) doesn't work as intended.
Is there a way, after sorting, that the opposite subfile can be read and sorted in the same fashion (via JS) - either by utilizing the subfile row from the subfile that was sorted, or via a common field between the two subfiles? In order to facilitate Export to Excel to work properly, the "frozen" fields are also in the "non-frozen" subfile, with a column width of 0 (so the fields aren't truly hidden), so the Excel export should include them. Therefore, there are common fields between the 2 subfiles.
Thanks
-Dan
I'm trying to emulate a subfile where the first few columns appear to be "frozen", allowing certain information not to disappear from view, when the end-user is scrolling to the right.
I would like the ability to sort either subfile - but because of the technique used to emulate "freezing" certain columns is utilizing two subfiles, the sort (and other functions such as filter) doesn't work as intended.
Is there a way, after sorting, that the opposite subfile can be read and sorted in the same fashion (via JS) - either by utilizing the subfile row from the subfile that was sorted, or via a common field between the two subfiles? In order to facilitate Export to Excel to work properly, the "frozen" fields are also in the "non-frozen" subfile, with a column width of 0 (so the fields aren't truly hidden), so the Excel export should include them. Therefore, there are common fields between the 2 subfiles.
Thanks
-Dan