You can identify a section using the logicalIndex() and logicalIndexAt() functions, or by its index position, using the visualIndex() and visualIndexAt() functions.
The visual index will change if a section is moved, but the logical index will not change.
visualIndex是显示的index,如果用户拖动列头,那么该visualIndex会改变的。但是他的LogicalIndex是不会改变的。
The visual index will change if a section is moved, but the logical index will not change.
visualIndex是显示的index,如果用户拖动列头,那么该visualIndex会改变的。但是他的LogicalIndex是不会改变的。