Loading...
This article will introduce the layout process of the schedule, so that readers can more directly understand the internal layout logic of S2
.
In the process of parsing the layout, the following figure schedule is taken as an example:
The schedule is a basic table without the capability of cross-perspective analysis, so the schedule mainly includes two parts: column header and content area . Different from the pivot table, the detailed table has no row header and corner header area.
The column header layout algorithm of the schedule and the on-demand rendering of the content area are consistent with the pivot table, so I won’t repeat them here.
The serial number column is a column automatically generated by S2 based on the data for the convenience of users, and is used to display the serial number. This column is essentially no different from the content area. But at the style level, it can be individually configured through theme.rowCell
.
The frozen rows and columns will have special treatment in the layout. Simply put, the positioning of the frozen row and column grids is fixed. in: