vb6 usercontrol datagrid,A replacement for Microsoft's old version of the control should be able to do this. , rows property
After all, this is something invented by Microsoft in 1998. And Microsoft has a bad habit, the subsequent upgrade of things like vba, 10 years and 20 years, almost no increase in functionality

Vs flexgrid. OCX, this charge table controls to achieve all of these functions, of course, the cost is also more expensive.