How to freeze a row of the table: 1. Click "View" → "Freeze Panes" → "Freeze Split Panes" in the menu bar; 2. Click "View" in the menu bar, and Select Freeze Panes → Unfreeze Panes.
Freeze a certain row of the table
We want to freeze a certain row of the window. When the mouse scrolls down, the row will not freeze. move, but how to achieve this effect? Let's take the freezing of the window in the third row as an example.
Click the mouse to select the fourth row, and click "View" → "Freeze Panes" → "Freeze Split Panes" in the menu bar.
# In this way, when the mouse scrolls down, the cells above the thick black line will be fixed. Simply put, just click on the next row of cells you want to freeze.
If we want to cancel this setting, also click "View" in the menu bar, then "Freeze Panes" → "Unfreeze Panes", so just now The settings are cancelled.
If we want to freeze certain rows and columns of the window, how can these rows and columns be fixed when the mouse scrolls down? Let's freeze them below. Take the window in row 9 and column C as an example. Click the mouse to select cell D10, and click "View" → "Freeze Panes" → "Freeze Split Panes" in the menu bar. That is to say, click on the intersection of the cells in the row and column next to the cell in the row and column you want to freeze.
After freezing the window, scroll down with the mouse, and the cells above the straight line pointed by the arrow will be fixed.
Similarly, drag the scroll bar to the right, and you can see that the windows to the left of the line pointed by the arrow are fixed.
If we want to cancel these settings, also click "View" in the menu bar, then "Freeze Panes" → "Unfreeze Panes", so that just now The setting is cancelled.
The above is the detailed content of How to freeze a row in a table. For more information, please follow other related articles on the PHP Chinese website!