Results 1 to 3 of 3

Thread: [RESOLVED] Help Needed in MSFlexGrid (Urgent)

  1. #1

    Thread Starter
    Member varunj's Avatar
    Join Date
    Jun 2006
    Location
    Mumbai, India
    Posts
    57

    Resolved [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:
    1. 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
    Last edited by varunj; Sep 20th, 2006 at 08:20 AM.
    VJ
    1000 MILES OF JOURNEY, BEGINS WITH A SINGLE FOOT STEP......

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    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.

  3. #3

    Thread Starter
    Member varunj's Avatar
    Join Date
    Jun 2006
    Location
    Mumbai, India
    Posts
    57

    Resolved 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
    VJ
    1000 MILES OF JOURNEY, BEGINS WITH A SINGLE FOOT STEP......

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width