I have just transformed from vc6 to Web, while copying and writing, learning and doing it, a lot of IntegrationGridviewpageableAndYycontrols
Drag the column width and generate a drop-down bar between the left and right: After the gridview binding is complete, bind a div to each cell, and capture whether the cursor is moved to the midline of the header. Use cursor: col-resize indicates the length of the record when you move the mouse.Left and right columnsAdjust the width of all divs (Implemented).
Current defect: to prevent Div from breaking the border of the gridview, a special Div must be provided for the gridview and the height is set to 100%.
After dragging the column width, the cell content is automatically truncated and expressed with a ellipsis. The cell content is lossless:Use gridviewTable-layout: fixed,The DIV of each cell usesText-overflow: ellipsis; (implemented)
Fixed Header and first column: The expected result is that the drop-down entry is invalid for the header, and the right pull entry is invalid for the fixed column because of the wide drag function, use relative positioning for all the divs in the fixed header row and set expressionParent. scrolltop-1, Fixed column usageParent. scrollleft (implemented) fixed rows and columns should be set to opaque, and ffffff should be used for white
To be continued ....