Write a table with fixed rows and columns using the UniAPP framework (applet)
January 28, 2024
by Yakshit Saha
No Comments
Background: The scrollview alone cannot monitor horizontal and vertical sliding at the same time, so only one column or row can be fixed
The central idea to solve the problem is to use the view label of display: table to replace the scroll view, and then use position: sticky plus the values of top and left in the rows and columns that need to be fixed to achieve the fixation