How to make AdvancedDataGridColumn header to be invisible?

Hi,
I have a requirement to group a bunch of columns under a common header but don't want to show the headers for the child columns in the group.
The code snippet is below
<mx:AdvancedDataGrid >
<mx:AdvancedDataGridColumnGroup headerText="Heatmap Thresholds" width="480" sortable="false"  >
      <mx:AdvancedDataGridColumn editable="false"  dataField="Threshold1" headerText="" sortable="false" />
      <mx:AdvancedDataGridColumn editable="false"  dataField="Threshold2" headerText="" sortable="false" />
      <mx:AdvancedDataGridColumn editable="false"  dataField="Threshold3" headerText="" sortable="false" />
</mx:AdvancedDataGridColumnGroup>
<mx:AdvancedDataGrid >
If I run this code I get three sub headers for Threshold1, Threshold2 and Threshold3 without any text but at the end I still see 3 blank headers which I don't want to show.
So I tried to apply a headerHeight style to each of these childcolumns but it didnt work.
Then I even tried adding an AdvancedDataGridHeaderRenderer and setting the height property to 0, 0%, -1 and all other combinations but the subheaders were still visible.
<mx:AdvancedDataGridColumn editable="false"  dataField="Threshold1" headerText="" sortable="false">
<mx:headerRenderer>
  <fx:Component>
   <mx:AdvancedDataGridHeaderRenderer  height="0%"/>
  </fx:Component>
</mx:headerRenderer>
</mx:AdvancedDataGridColumn >
Can someone advise how to hide the headers for the child columns in ColumnGroup mentioned above?
Thanks
Ravisekhar Kopparthi

yourTree.setCellRenderer(new yourTreeCellRenderer());Also, see Q6.2 of this FAQ:
http://www.cs.uu.nl/wais/html/na-dir/computer-lang/java/gui/faq.html

Similar Messages

  • The Header in my home page is truncated. My home page Header is cut off. The header appears in Internet Explorer, but not in Mozilla Firefox 3.6.13. How to make the header display in Firefox?

    The Header in my home page is truncated. My home page Header is cut off. The header appears in Internet Explorer, but not in Mozilla Firefox 3.6.13. How do make the header display?

    (Images or animations do not show) worked well.

  • How can make the header repeat in every page?

    I followed the instructions in pages' help nad it does work for text heardes, however it does not work with images and graphics.
    Daoes anyone know how to make graphic and/or images headers repeat in each page?
    Thanks in advance.
    Ruben

    Make them Master Objects:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=182&highlight=letter head&mforum=iworktipsntrick
    Peter

  • How to make a tabstrip visible and invisible again?

    Hi
    I have a GUI with Fields, Texts, Checkboxes, Radio buttons, a Button and of
    course a tabstrip with 7 tabs.
    Before I want to show some data in the tabs of the tabstrip, I have to fill the fields, check a radio button and checkboxes. After filled all entries needed, I will start
    the preparation of the data with clicking on the button.
    Before the click on the button the tabstrip has to be invisible. After the preparation
    of the data I will make the tabstrip with its tabs visible.
    All this is in the same dynpro (e.g. 0100). I don't build it together with to dynpros.
    I tried with LOOP AT SCREEN ... ENDLOOP, but the tabstrip does not appear.
    The only attribute accessable is "activetab".
    How to make that happen?
    Thanks for your help
    Frowin

    Hi
    Suppose you have 3 screen:
    - 1 main screen (100)
    - 2 subscreen    (101, 102)
    In the subscreen 101 you need to design your tabstrip (so you need to move your tabstrip from main screen), the subscreen 102 has to be empty.
    In the PBO of screen 100:
    PROCESS PBO.
    MODULE SET_SUBSCREEN.
    CALL SUBSCREEN SUBAREA INCLUDING V_REPID V_SCREEN.
    In the module SET_SUBSCREEN, you insert the code you need to choose the right subscreen:
    IF _SHOW = 'X'.
      V_SCREEN = '0101'.
    ELSE.
      V_SCREEN = '0102'.
    ENDIF.
    The flag _SHOW is setted in PAI after pressing the button:
    MODULE USER_COMMAND.
        CASE OK_CODE.
           WHEN 'SHOW'. _SHOW = 'X'.
    Max
    Edited by: max bianchi on Jan 9, 2008 5:03 PM

  • WPF: How to make Tab Header to show three different icons?

    Our WPF application needs Tab header to show three different icons and Foreground.
    If tab is not selected, show one icon and black foreground. If tab is selected, show another icon and white foreground. If tab is selected and also require show Chromestyle, show third icon and red foreground.
    we have tried the following code. However, MultiDataTrigger section does not work.
    <TabItem x:Name="tabItemSetup" Header="Setup">
    <TabItem.HeaderTemplate>
    <DataTemplate>
    <StackPanel Orientation="Vertical">
    <Image x:Name="imgSetup" Height="50" Width="65" Source="Resources/Images/UNSELECTED_Setup Icon.png" DockPanel.Dock="Top" />
    <TextBlock x:Name="txtSetup" Text="{Binding}" Foreground="Black" Style="{StaticResource TabTextStyle}" DockPanel.Dock="Bottom" FontFamily="Eras ITC" FontSize="13.333"/>
    </StackPanel>
    <DataTemplate.Triggers>
    <DataTrigger Binding="{Binding IsSelected, RelativeSource={RelativeSource AncestorType={x:Type TabItem}}}" Value="True">
    <Setter TargetName="txtSetup" Property="Foreground" Value="White"/>
    <Setter TargetName="imgSetup" Property="Source" Value="Resources/Images/SELECTED_Setup Icon.png"/>
    </DataTrigger>
    <MultiDataTrigger>
    <MultiDataTrigger.Conditions>
    <Condition Binding="{Binding IsChromeStyle}" Value="True"/>
    <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource AncestorType={x:Type TabItem}}}" Value="True"/>
    </MultiDataTrigger.Conditions>
    <MultiDataTrigger.Setters>
    <Setter TargetName="txtSetup" Property="Foreground" Value="Red"/>
    <Setter TargetName="imgSetup" Property="Source" Value="Resources/Images/Chrome SELECTED_Setup Icon.png"/>
    </MultiDataTrigger.Setters>
    </MultiDataTrigger>
    </DataTemplate.Triggers>
    </DataTemplate>
    </TabItem.HeaderTemplate>
    </TabItem>
    Does anyone know how to make it work? Thx!
    JaneC

    Where is the IsChromeStyle property defined? It is the Header, i.e. the string "Setup" that is the DataContext of the HeaderTemplate and the a string has no property called IsChromeStyle so you must specify a source for the binding.
    If for example the DataContext object of the TabControl, or the parent of the TabControl (for example the window or whatever) has a property called IsChromeStyle you could bind to this one using a RelativeSource:
    <MultiDataTrigger.Conditions>
    <Condition Binding="{Binding DataContext.IsChromeStyle, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="True"/>
    <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource AncestorType={x:Type TabItem}}}" Value="True"/>
    </MultiDataTrigger.Conditions>
    Then it should work. It is the binding that fails.
    Please remember to close your threads by marking helpful posts as answer.

  • How to make a header ?

    I'm working on a website with dreamweaver, and i had a template on photoshop saved for it, however it's been corrupted.
    How can i make a header like this from scratch ? baring in mind, I am prety much imcompetent with Photoshop
    the wbsite is www.fitnesscovered.co.uk
    the header such as "begin your healthier lifestyle" or on the other pages is exactly what I'm trying to re-create
    Thank you

    Hi there, here's a tutorial for how to build that image. It may seem long, but never fear! The steps are actually quite simple.
    1) Create a file in the dimensions of the image (872 x 379 for the "begin your healthier lifestyle" banner).
    2) Place the desired photo into the document by copying and pasting or by going to File > Place.
    3) Select the Type Tool and click the area of the image where you would like the text to start. Please see the screenshot below for details on how to change the appearance of your text.
    4) Select the Rectangle Tool highlighted below and draw a rectangle around your text. Change the color at the top of the window as shown below. Your text will be obscured, but we will fix that in the next step.
    5) In your Layers Panel, drag the layer containing the rectangle you just made below your text layer.
    6) To create the second line of text and rectangle, you can simply duplicate the layers you made, then edit them. Select both layers by clicking on the text layer, the shift-clicking on the rectangle layer. Next, control click on the selected layers to open a flyout. Choose duplicate layers. In your canvas, it will look like nothing happened, but the layers will show up in your layers panel.
    7) Hit command V to select the Move Tool. You can now click and drag the rectangle and text layers to reposition them.
    8) Revisit Step 3 for how to select your text to change it.
    9) To change the dimensions of the rectangle, select the rectangle layer and press command T to enter Transform Mode.
    I hope this helps! Please let us know if you have any other questions about this technique.

  • How to make one  treeNode specified be invisible?

    I want to make some nodes be invisible and some nodes be visible of a JTree.
    I also can make the invisible nodes be visible again.
    How to do?
    Thank you for help!

    yourTree.setCellRenderer(new yourTreeCellRenderer());Also, see Q6.2 of this FAQ:
    http://www.cs.uu.nl/wais/html/na-dir/computer-lang/java/gui/faq.html

  • How to make a header in a table non-scrollable even when u use scollbar

    i'm adding the table to scrollpane and this scrollpane is added to the container using border layout in Center and using .gettableHeader() i'm adding this to the container in north.now the problem is when ever i scroll table data using scrollbar(vertical) table header is also scrolling.how to prevent this?
    thanks in advance

    Well, if you just add the table to the scrollpane, it'll take care all the rest, no need to add the table header to the North.

  • How to make column heading in a table cross multiple pages

    I have a large table that crosses over to a second page.  I would like the column headings to be displayed on the second page.  Is this possible and how to do it?

    Heading rows are automatically cloned to table continuations.
    if you aren't seeing heading rows on subsequent pages (and you can tell because you can see them but you can't edit them there), the usual reason is that what appear to be heading rows on the first page are just body rows with heading paragraph formats.
    If all real heading rows have been deleted, it's usually easiest to just create a new table with heading rows and copy the content over.

  • In ALV how to make column heading in two lines ?

    In ALV if one the column heading is say for example "Purchase Order", if i want to display it as "Purchase" and "Order" below the "Purchase". Is it possible? if so how?
    Thanks in advance.
    Sounder

    Hi Sounder,
         It is highly impossible... If u tell your requirement clearly... we will try for solution..
    thanks and regards
    sk
    Rewards if helpful

  • How to make the Selection Screen fields Invisible..?

    Hi All,
    I have a selection screen in which I have 2 Radio Buttons and 2 Blocks(with input fields).
    The requirement is when the Radiobutton1 is selected, it should display the BLOCK1 and the BLOCK2 should be Invisible. The same way, when the Radiobutton2 is selected, it should display the BLOCK2 and the BLOCK1 should be Invisible.
    Could someone help me how to do this. Please share your valuable inputs. If anyone has some sample code, that would be greatful.
    Thanks in advance.
    Thanks & Regards,
    Paddu.

    Please search the forum. This question has been asked and answered many times before.
    Rob

  • How to make navigation header a dropdown

    I'm trying to make one of my main navigation headers (About Us) into a rollover drop down like the rest of my headers.  When I try to do so on my main navigation page it throws the rest of my headers off of the correct alighnment.
    Here is what I want my headers to look like:
    Home    About Us     Palletizers     Palletizer Accessories     Warehouse & Storage     Manufacturing & Ergonomics     Customer Service
    Here is how it comes out when I make the changes on my main navigation page:
                                                                                              Home     About Us
                        Palletizers     Palletizer Accessories     Warehouse & Storage     Manufacturing & Ergonomics     Customer Service
    Is this a problem with the CSS?  Or can I fix this with an HTML snippet on the main navigation page?  Any help would be greatly appreciated, thanks.
    www.lambertpalletizers.com

    Sorry, I didn't account for the lack of space on the forum...  I want to keep the main navigation on one horizontal line not two.

  • How to Make SC Header view visible

    Hi Experts,
    I'd like to know how I can get the SC header view visible when the SC is created through the SC Wizard (Employee Role).
    We need to add some Z-Fields at header level but the problem is that we cannot display the header information when the user creates a SC using the Wizard.
    For purchassers and strategic purchasers using professional view it's possible to display the header information.
    Thanks in advance,
    Regards.
    Martin

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Web Interface - how to make the heading of the page bold and underlined

    Hi EXperts,
    I have created web interface. For this I have done like this:
    1) Types bps_wb transaction code
    2) I have clicked on Web Interface --> Create
    3) I have checked check boxes to create save pushbutton, exit button etc.
    4) Then I clicked on create button
    5) After that I generated the application
    6) Then I clicked on Display Perview button. I can see that Page 1 is getting displayed on top left side.
    7) I want to align this header text 'Page 1' in central position in page. I also want to underline it. How I can do so?
    Thanks

    Found ans on own...

  • How to make a header text centeraligned

    hi ,
    I need to put company's name as a header or page title and that needs to be in the centre of the page.

    But how do i use a cellFormat with centeraligned because it appears in a cell format i mean a box comes around..
    Also wat i meant by making the page tile center aligned was not the page window title but any text which i want to be center aligned on the page

Maybe you are looking for

  • Help! Blackberry 8330 keeps freezing.

    I plugged my blackberry into my computer to charge and this morning I was in a rush to get to college when I just pulled the cable out and forgot to eject it. (Yeah, I know, very smart move) Now when I tried to call someone I found that it was frozen

  • Problem in Changing the Query of LOV using Forms Personalisation

    Hi all, I have a problem while trying to change the LOV of job field in the people--> assignment form. I am trying to do through forms personalisation. I defined all the rquired fields: Following are the description of fields Idescribed in the form P

  • Timer interrupt for LED

    Hello guys, My program has radio buttons to control blinking rate of LED. I need to put interrupt (timer) to switch off LED after 10seconds. Lets say SW0 is pressed, LED starts blinking 10 seconds and then switch off. Here I have some problems, when

  • Unable to set the ip address for hosted network client after creating WIFI hotspot

    Original Title: INTERNET CONNECTIVITY PROBLEM WITH MY LAPTOP WIFI HOTSPOT HI all I am able to use internet connection from my lap hotspot, when the internet source is Public or private wifi. so I know the cmd window commands for hotspot and settings

  • HELP!!!!!!​!...my phones hangs on 70% reboot even after wiping and reloading OS 7. Touch 9850

    My phone hangs on 70% reboot. I wiped and re installing OS several times.  It says installation sucessful but still hangs when it reboots and get to 70%. please does anyone know what i can do to it. please help me. sugesstions will be kindly apprecia