grouping of the datagrid (is this possible?) headers.

Hello

I need to make a layout in a datagrid (or control advanceddatagrid) that I need to display headers and columns like this:

example:

Customer |             Name of the vendor

Code |   Description |   Code |   Description

Where the Code and the Description are my columns, but how I have 2 columns with the same name I need to bundle it with a label.

I could use columns as client Code, client Description... but I think with the group in the headers give a better experience for users.

any help will be appreciated.

Thank you

André.

You can get what you want by AdvancedDatagridColumnGroup.

Please see

http://www.onflex.org/Ted/2007/06/Flex-3-Wednesday-components-and-SDK.php

http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=advdatagrid_02.html

Thank you.

Tags: Flex

Similar Questions

  • I want cRIO to start and stop the acquisition by push physical button on the cRIO, is this possible?

    When you use my cRIO 9024 on the ground, I prefer to be able to start and stop the acquisition with pressing a physical button on cRIO.

    I want to say I don't want it to be "as a start-up," I don't want cRIO to start the acquisition as soon as the power supply is ensured.

    Is this possible?

    Hi Cashany,

    you will surely find this switch status. But there are easier ways (but more expensive) for a button. Fiddling with a pen or a small screwdriver to switch USER1 is not what I call "user friendly"...

    -You have at least 2 voltage inputs on your module available. Use a switch voltage on the power inputs. Use a 'real' button!

    -You have an available serial port. You can set some pins on GND or voltage and check their status inside the cRIO/RT target...

  • I am in muse and I split my horizontal menu to put an image in the middle two half of the. Is this possible? I'm on PC.

    Im trying to put an image in the middle of my menu but can't figure out how. Can someone please?

    You create two separate menus and place the image inbetween.

    Mylenium

  • I placed the Web buttons on a template, but they change position each other on several pages. How is this possible and can I fix? This happens on all versions (desktop, Tablet and phone)

    Hello

    I have placed the buttons of navigation on a master page, but they change position each other on several pages. How is this possible and can I fix?

    This happens on all versions (desktop, Tablet and phone)

    (I have created the buttons with elements of the Muse, grouped them individually and link them)

    Now, I'm redoing the buttons because the client wanted smaller and the problem went away on its own.

  • Lot: Open Bridge "Stacks" in the form of layers in PS CS5 + run action. Is this possible with script?

    A couple of days, I posted this topic - I did not know this forum/group so the thread is displayed in Photoshop scripts and windows of the bridge. I did find a solution on these forums - can help any person here?


    http://forums.Adobe.com/thread/880777?TSTART=0

    http://forums.Adobe.com/thread/880779?TSTART=0

    I would like to automate a part of my job, which is to open the images superimposed (in Bridge CS5) in the form of layers in Ps CS5 and performs a PS action than the layers of composites and processes the image. Something similar to 'Process Collection' in Bridge CS5 only with my own action instead of merging HDR/panorama.

    Apparently, it's possible with Mac "Automator" - I can do in Windows? I have no experience with writing scripts, but have friends who can help. Can someone tell me if its possible and point me in the right direction please?

    This must be a batch process. I know how to open images in layers of the bridge so that I can manually run action PS - I deal with automatically batches of images in this same way.

    To clarify, if possible script must

    (1) find the first battery (in bridge [in the selected folder])

    2) open as layers in PS

    (3) run PS action

    (4) save and close (like psd retaining layers)

    (5) find battery new bridge (selected folder) and try again.

    I mean by "stack", a set of similar files (for example same scene-2 EV, 0EV, + 2 EV)

    Function 'Collection of process' of the bridge is great because it recognizes very skillfully similar images (I think that you first need to stack them) opens to them and either treated in a hdr or panoramic image. Instead or hdr or pano, wouldn't be great if you can run your own action.

    The bridge Image Processor is fantastic to open a package of individual files and run your own action of treatment, but it will not be open to groups of images ("Stacks" or sets) in the form of layers.

    What I need, is essentially a hybrid of the two.

    In case missed you my end added in the other thread, you can watch the auto collection script that comes with the bridge and use it as a basis for what you want to do. You can also to the controller of the creation of your batteries if their timestamps are nearby. Overnight Auto Collection Script now performs two types of battery HDR and Panoramas.  You may be able to modify it to a third type of battery. You stack type and use your stack of transformation of the process instead of mearge of HDR or PhotoMerge.

    The help of Bridge:

    The script Auto Collection CS5 from Adobe Bridge assembles sets of images into piles for treatment as a high dynamic range (HDR) or composite panoramas in Photoshop CS5. The script collects images into stacks based on capture time, exposure settings and the alignment of the image. The timestamps must be within 18 seconds for the Auto Collection script to process the photos. If the exposure settings vary according to the pictures and content overlaps by more than 80%, the script interprets the photos as a HDR set. If the exposure is constant and content overlaps by less than 80%, the script interprets the photos as part of a panorama.

    Note: You must have Adobe Bridge with Photoshop CS5 CS5 Collection car is available.
    1. To activate the Auto Collection CS5 script, choose the command Edition > Preferences (Windows) or Adobe Bridge CS5.1 > Preferences (Mac OS).
    2. In the Startup Scripts panel, select Auto Collection CS5 and then click OK.
    3. Select a folder with the HDR or panoramic and choose stacks > Auto stack Panorama/HDR.
    4. Choose Tools > Photoshop > process Collections in Photoshop to merge automatically and visualize the result in Adobe Bridge.
  • Box AD - 9.1.1.4 adapter - adding after the user from this group is created

    Dear all,
    Is it possible to add the group to the user using the adapter box AD after it has been in service to the announcement?

    Thank you

    There are a couple of different alternatives:

    1. use one (or more) access policies to fill the child form with the groups you want
    2. If you do a direct supply simply fill out the child form as you wish
    3. If you do not ask the basis of provisioning, according to me, you have a child form on the shape of the object for groups

    Hope this helps
    / Martin

  • How ItemRenderer change for DataGrid column based on the value of this column?

    Hello! I am trying to create a DataGrid that has a component Button to register when the value of this column is 'Open', then a label saying full when the value of this column is "Full". But Im having a hell of a time he find.

    Here's my MXML with 2 different inline installation of components for different rendering engines point 2:

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" >

    < mx:Component id = "RegFull" >
    < mx:VBox horizontalAlign = "center" verticalAlign = "middle" >
    < mx:Label id = 'Full text' text = "Full" / >
    < / mx:VBox >
    < / mx:Component >

    < mx:Component id = "RegButton" >
    < mx:VBox horizontalAlign = "center" verticalAlign = "middle" >
    < mx:Button label = "Save" / >
    < / mx:VBox >
    < / mx:Component >

    < mx:DataGrid id = "scGrid" width = "100%" height = "100%" number of lines = "4" >

    < mx:dataProvider >
    < mx:Object label = "Status" data = 'Open' / >
    < mx:Object label = "Status" data = "Full" / >
    < mx:Object label = "Status" data = 'Open' / >
    < mx:Object label = "Status" data = "Full" / >
    < mx:Object label = "Status" data = 'Open' / >
    < mx:Object label = "Status" data = "Full" / >
    < / mx:dataProvider >

    < mx:columns >
    < mx:DataGridColumn id = "RegCol" headerText = "Reg" dataField = "data" / >
    < / mx:columns >

    < / mx:DataGrid >
    < / mx:Application >

    How can I dynamically use the right of itemrenderer based on the value of the field? THANKS FOR ANY HELP PROVIDED!

    The best
    Stephen

    You can have more than 1 column renderer engine. There are two ways to do this. One way would be to use States. A State for each possible value in the data. Since you either want a button (data == 'open') or a label (data == 'Full') by using the States wouldn't be a bad choice.

    Alternatively, you can use a canvas instead of a VBox. Make a label and a button with horizontalCenter = "0" "0" = red to make them each other. Make it visible according to the data value:






    where dataField is the value of the property dataField on this converter DataGridColumn.

  • DataGrid: data based on the datagrid column headers

    I have a datagrid I want to fill the headers of datagridcolumn with specific data during execution.

    I'm going through the array of data objects and the creation of each column, but I still need to figure out how to set the header for each of them. I tried to set the itemRenderer for the column of a component simple lable, but then I don't know how to set the text of this label on the name to say correct datadriven of objects field.

    Any help would be greatly appreciated,
    Ruben

    I figured this out. Essentially before defining the its you get your component and wrap around a ClassFactory object and then set the property that you want to appear in the header. You can do this in a loop and change the header you go. Here's some code that could go in a loop:

    var lblFact:ClassFactory = new ClassFactory (Label);
    lblFact.properties = {text: "changing text data"};
    dgColumn.headerRenderer = lblFact;

    Maybe this will help someone later.

  • I live in the United States and would like to buy a song from the Germany. Is this Possible?

    I live in the United States and would like to buy a song from the Germany. Is this possible?

    Hello

    You can buy songs that are available on iTunes Store for your country.

  • I am looking to buy a 'new' ipod classic. IPod Superstore claims get the new Apple iPod that Apple is still making them for 5 years, but only to sell them to a few suppliers for resale. Is this possible?

    I am looking to buy a 'new' ipod classic. IPod Superstore claims get the new Apple iPod that Apple is still making them for 5 years, but only to sell them to a few suppliers for resale. Is this possible?

    Probably not still making them, but Apple political is to the service of produced at least five years after they is no longer manufactured and sold

    "Owners of iPhone, iPad, iPod or Mac products can get the services and Apple parts or service providers from Apple for 5 years after that the product is longer manufactured,' which is

    Vintage and obsolete products - Apple Support

    With the iPod, 'maintenance' means often giving you a replacement to pay the off-guarantee fee, which is $ 299 for the last classic model of the iPod, according to this document

    Pricing of the Service - The Apple iPod Support

    So Apple probably has a stock that's enough to last up to five years after 2014 (when the last classic model of the iPod has been abandoned).  This provider is unlikely to be an authorized dealer, as well as the iPod has not perhaps be covered by the standard warranty of one year.  That's why it comes in a regular white box, not a retail box.  It's supposed to be a replacement of maintenance for the iPod classic (latest model) owners.  It can be 'used', but it is still old.  Parts like LCD, HDD and the age of the battery by sitting in a warehouse.

  • Since the update for Firefox 4, I am no longer offers the possibility to save the tabs when closing making it much faster to access these sites when starting the next day. Why this possibility has been removed? It's a favorite feature.

    Since the update for Firefox 4, I offer more the ability to save tabs on shutdown - makes more rapid access to these sites when commissioning the next day. Why this possibility has been removed? It was a feature favorite and saved a lot of time.

    Firefox 4 records the previous session.

    You can use "Firefox > history > restore previous Session" for the previous session.

    There is also a button 'Restore previous Session' on the default on: Home home page.

    Another possibility is to use:

    • Tools > Options > general > startup: "When Firefox starts": "show my windows and tabs from last time '.

    You can set the preferences of warning on the topic: config page true via the context menu or toggle the value with a double click of the left.

    To open the topic: config page, type Subject: config in the address bar (address) and press the 'Enter' key, as you type the url of a Web site to open a Web site.

    If you see a warning then you can confirm that you want to access this page.

  • I would like to add print a preview icon in the toolbar. Is this possible?

    I would like to add a preview of pint icon to the toolbar that I use an excerpt whenever I want to print a page. Is this possible?

    You can add one with the add-on of Print Preview button- https://addons.mozilla.org/firefox/addon/print-preview-button

  • Filing of bookmarks is heavy. With Firefox, I star an address. Then I opened organize bookmarks to change the name and put it in a folder. I want to highlight and drag and right click set I want to change. Is this possible?

    Filing of bookmarks is heavy. With Firefox, I star an address. Then I opened organize bookmarks to change the name and put it in a folder. I want to highlight and drag and right click set I want to change. Is this possible? in English

    You can click now yellow highlighted the star a second element to open the dialog box "edit this bookmark".

    See also create bookmarks to save your favorite Web pages

  • I want to buy a Apple Watch in the Canada and use it and load it in Ireland. Is this possible?

    I want to buy a Apple Watch in the Canada and use it and load it in Ireland. Is this possible?

    Hello

    If you buy a Apple Watch the Canada, it will be completely compatible with your iPhone in Ireland.

    There are no regional differences in the hardware specifications for the watch, which can be configured to use your preferred language and format of the region.

    The included USB adapter pins will be located at the Canada. However, for charging your watch via the food in Ireland, you can use the charge cable provided on the magnetic head with a real 5W Apple (iPhone) or 12W (iPad) USB power adapter. You can also buy an extra Apple USB power adapter for your watch the Apple Store online for the Ireland:

    http://www.Apple.com/IE/shop/product/MD812B/C/Apple-USB-power-adapter?FNODE=83

    Service of the material to the title of the one year limited warranty is also always available in Ireland.

  • Is this possible with the 6 having touch 3D iPhone

    Is this possible with the 6 having touch 3D iPhone

    Is there anyone to answer my question pl

Maybe you are looking for