Skip to content

Infragistics Community Forum / Desktop / Ultimate UI for Windows Forms / How to hide this column headers and needless columns from combo

How to hide this column headers and needless columns from combo

New Discussion
Kostya
Kostya asked on Jan 29, 2015 5:56 PM

Hi, Mike!

I’ve got a trouble with data presentation in ultraCombo – I want it to look like usual combo – just one column shown (display member) and one to be value member. But I get all of the columns and I get these nasty headers on top….. How to change the situation?

Sign In to post a reply

Replies

  • 0
    Matt Snyder
    Matt Snyder answered on Sep 17, 2008 6:22 PM

    You may want to look at using the UltraComboEditor instead, since this would provide the 'usual combo' look and feel more easily than the UltraCombo.  Should you still need to use the UltraCombo, you could hide any of the columns that you want in the InitializeLayout event by setting the Hidden property to true.  I'm not sure that there's a way to hide the headers of a column, but perhaps I'm just overlooking something.

    -Matt

     

    • 0
      Kostya
      Kostya answered on Sep 17, 2008 7:08 PM

       Hi, Matt!

      Thanks a lot – frankly speaking I'm quite surprised that there's someone except Mike to answer :). I've tried UltraComboEditor – it works great for me!!! 

      • 0
        Jamal
        Jamal answered on Nov 19, 2008 4:59 PM

        FYI, in the UltraCombo you can set the property "ColHeadersVisible" to false in the appropriate band (usually DisplayLayout.Bands[0]). This is frequently done in the InitializeLayout event.

  • 0
    Jorge Perez
    Jorge Perez answered on Dec 2, 2014 7:35 PM

    e.layout.bands(0).ColHeadersVisible = False

    • 0
      Jeff Staddon
      Jeff Staddon answered on Jan 29, 2015 5:56 PM

      The following worked for me:

      MyComboBox.DisplayLayout.Bands(0).ColHeadersVisible = False

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Kostya
Favorites
0
Replies
5
Created On
Jan 29, 2015
Last Post
11 years, 1 month ago

Suggested Discussions

Tags

Created by

Created on

Jan 29, 2015 5:56 PM

Last activity on

Feb 23, 2026 9:54 AM