vbRetard
asked on
FlexGrid additem
Hi i am using FlexGrid.additem method and it always results that the first row is always a blank row. Why does that happen ? Can anyone suggest anything ?
ASKER
Yes i've tried that all but it still adds to the second row and leaves the first one blank.
That's the way AddItem works for the flexgrid. It adds a new row. If you want to add text to an existing cell, you need to use .TextMatrix or .TextArray properties. These will add to the cell (Row, Col) that you specify.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Assuming that you have at least one Fixedrow, do the following int your Form_Load() sub :
MSFlexGrid1.Rows = 1
Then try you additems as before.