Results 1 to 2 of 2

Thread: No one can help in sorting data in MS Flex Grid

  1. #1

    Thread Starter
    Addicted Member chander's Avatar
    Join Date
    Nov 2000
    Location
    New Delhi , India
    Posts
    225

    Red face

    I want to do sorting on single coulumn data in MsFlexgrid.
    I don't bother whether it is numeric,character or string .
    But by using sort property of MSFlex grid control all other columns having data got unordered means , my selected column
    is sorted but other coulumns get unordered.I set the Row ,Col , Rowsel and Colsel property by values for which i want sorting before sorting it . but still all other columns
    data disperse .

    Or any other idea of sorting in VB , if I have a list of strings ( it may be numeric , string , alphabet as in Excel)
    I can put sorted values later in grid if i sort them externally thru any other technique .

    I would appreciate and thankful if any one helps me on this.

    Chander
    __________________
    Chander Bhushan Malik
    Software Dev. Exec.
    Email:[email protected]

    Chander
    Email:[email protected]

  2. #2
    Addicted Member darrenl's Avatar
    Join Date
    Jul 2000
    Location
    Portsmouth, UK
    Posts
    148
    I think i understand what you are trying to do ie. to sort one column only but to leave the other columns displayed as they were before the sort. I glanced at the controls help file and i'm sorry to say that it will only sort all of the availible rows. Looks like you are going to have to write a sort routine of your own (slow) or source another control.

    this section copied out of MSDN library
    Code:
    Remarks
    
    The Sort property always sorts entire rows
    Dazzer

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