CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2009
    Posts
    4

    Post SSDBDataGrid(Sheridan data grid) dynamically updating column position is not working

    Hi all,
    I am facing a strange problem with SSDbGrid . In our application one of the form have several tabs each containing one

    SSDBData Grid. Users are allowed to change column position by drag and dropm. Each time when the user changes column

    position we store entire column position in a two dimensional array.
    For Cnt = 0 To MyDataGrid.Column.Count - 1
    ColumnPositionArr(CurrTabIndex,iCnt) = MyDataGrid.Columns(iCnt).Position
    Next

    When user goto another tab and return ti this one, we will update each column position from the array.
    For Cnt = 0 To MyDataGrid.Column.Count - 1
    MyDataGrid.Column(iCnt).Position = ColumnPositionArr(CurrTabIndex,iCnt)
    Next

    After this most of the column positions are updating correctly but some columns positions are not updating properly, it will

    swap their positions with other columns.

    We verified values inside the array, its correct.
    Are we suppose to do anything after updating column position ? we tried with MyDatagrid.Update , but that also not working

    Any information about this would be highly appreciated

    Thanks & Regards
    Shibu

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: SSDBDataGrid(Sheridan data grid) dynamically updating column position is not work

    Pretty sure that they dropped support for their tools. Try a MSHFlexgrid, or MSFlexGrid
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Tags for this Thread

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

Featured