Menu

Column reorder

2009-04-20
2012-10-30
  • shagun grover

    shagun grover - 2009-04-20

    Philips,

    I have a peculiar case, where I need to have Column no 2 as the main column (Listview) and all the other columns as the subitems of these listview. However for display purposes i need to have Column 3 as displayed as Column 1, then Column 2 and then Column 4 .

    Is it possible to get this kind of view in the OLV.

    (Practically saying column reorder, with put haveing the listview flicker after loading data)

    regards
    shagun grover

     
    • Phillip Piper

      Phillip Piper - 2009-04-20

      Hi there,

      I think you need to read the docs available on the website. In particular, the "Getting Started" page and the "Unlearn you must" section.

      I think things will be clearer for you after you have done that.

      The way you are currently using the OLV (inserting items directly into the Items collection) means that nothing will work!

      regards,
      Phillip

       
    • Phillip Piper

      Phillip Piper - 2009-04-20

      Hi Shagun,

      When you are defining the columns with the IDE, you can change the DisplayOrder property to control the order of the columns.

      You'll need to create the columns first, close the dialog, and then come back and change the display order on the second try.

      Regards,
      Phillip

       
    • shagun grover

      shagun grover - 2009-04-20

      Hi Philip,

      Thanks for the early response. Actually I am not defining the columns with the IDE, Rarther I am dynamically adding the columns in my program.

      Secondly,
      I do define the displayindex, however, I am adding the data in the conventional way,

      Dim ls As BrightIdeasSoftware.OLVListItem

      ls = New BrightIdeasSoftware.OLVListItem(i, vlstr, "")

      ObjListView.Items.Add(ls)

      I really donot know, is it correct way to add the data,

      I actually want column 3 to be my main column, but somehow I donot get it.

      Would be grateful for ur advice

      regards
      shagun grover

       

Log in to post a comment.