[RESOLVED] Help Needed in MSFlexGrid (Urgent)
Hi all
I have MSFlexGrid and I load a excel file in that. now I want extra add extra rows in that flexgrid, for this I try to use code:
VB Code:
msFlxGrd.AddItem sno & vbTab & vbTab & dt & vbTab &, msFlxGrd.RowSel
but this function add new row top of the grid (after fixed row), while I want add row in last.
and I want add rows at run time, it can be 1 or more
Please help me.
Thanks in Adwance
Regards
VJ :confused:
Re: Help Needed in MSFlexGrid (Urgent)
Quote:
Originally Posted by varunj
...but this function add new row top of the grid (after fixed row), while I want add row in last....
That's because you pass msFlxGrd.RowSel which is most likely equal to 0 or 1 so new row is added at the top. If you omit that argument then new row will be added at the end.
Re: Help Needed in MSFlexGrid (Urgent)
Hi RhinoBull thanks a lot
now its working, but wonder this small thing I forgot and stuck, but anyway thanks again.
Regards
VJ :)