The embodiment of the present disclosure discloses a method for editing the
layout of a frozen column of a table, creating a normal table in a webpage, setting a title row as a sticky
layout to be fixed in the first row of the normal table, setting a first
normal cell as a sticky
layout to be fixed in the first column of the normal table, creating a floating row, setting the floating row as an
absolute positioning, adding an additional element to a
cell of the floating row, adjusting a top offset position of the floating row to be consistent with a top offset position of a second
normal cell, adjusting a side offset position of the additional element to be consistent with a side offset position of the second
normal cell, setting the additional element as a sticky positioning if the second normal
cell is a sticky layout, which can realize code decoupling, reduce the development difficulty of the additional element, make the additional element more accurately attached to the second normal
cell of the normal table, and correctly
handle the hierarchical coverage relationship between the additional element and the frozen column of the normal table.