Using combobox in matrix

Hi all,
Here is my J# code:
SAPbouiCOM.EditText oEdit;
SAPbouiCOM.ComboBox oCombo;
oCombo = (SAPbouiCOM.ComboBox)colItemCode.get_Cells().Item(new Integer(pVal.get_Row())).get_Specific();
oEdit = (SAPbouiCOM.EditText)colItemName.get_Cells().Item(new Integer(pVal.get_Row())).get_Specific();
oEdit.set_Value(oCombo.get_Selected().get_Description());
I got the following error message executing the row "Item(new Integer...":
Row - Invalid index 66000-31
Using debug I saw the value of pVal.getRow() is equal to 1 (int type), i'm on the first row of the matrix.
Can you help me to solve it ?
How can I get the value of combo box selected?
Thanks in advance.
Best regards,
Andrea

hi,
I am puneeth. I will show u the code in vb.net...
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT And pVal.ItemUID = "Matrix1" And pVal.BeforeAction = False And pVal.ItemChanged = True And pVal.Row Then
            If oForm.Items.Item("Matrix1").Specific.Columns("uom").Cells(pVal.Row).Specific.Selected.Value = "2" Then
                cRow = pVal.Row
                UpdateMatrix(cRow)
            Else
                cRow = pVal.Row
                UpdateMatrix1(cRow)
            End If
        End If
i think by analyzing the code u can solve the problem.
to solve ur prob write code like this.
Step 1) Declare a integer variable as
           Dim a as Integer
step 2) Assign variable "a" to selected value in combo like this...
          a=oForm.Items.Item("Matrix1").Specific.Columns("uom").Cells(pVal.Row).Specific.Selected.Value
Regards,
Puneeth s

Similar Messages

  • How to use the transformation matrix in Placed Suite.

    I am in trouble how to use the transformation matrix Placed Art (PlacedSuite ). 
           AIRealMatrix rasterMatrix;
    AIRealMatrix placedMatrix;
    if (artType == kRasterArt {
         error = sAIRaster-> GetRasterMatrix (art, & rasterMatrix);
    } else if ((artType == kPlacedArt) {
         error = sAIPlaced-> GetPlacedMatrix (art, & placedMatrix);
    When I converted to using the transformation matrix of PlacedArt, the target art could not be converted to expect.
    I could convert in case of the RasterArt. (The reference point of the transformation matrix of RasterArt is (0,0).) 
    In the PlacedArt, preference point is not (0,0)?
    The tx/ty of the transformation matrix of PlacedArt is not correct? 
    In the transformation matrix of RasterArt and Placed Art, how are those two different?

    The short answer is "no", (0, 0) is not the origin of placed art (unlike kRasterArt). Off the top of my head, I believe when you place art, its original state is upside-down and flipped horizontally in the upper-right of the artboard. If you want to see where it starts, simply create an identity matrix and apply that as the matrix for the kPlacedArt and you'll see how it starts. Yes, its pretty crazy.
    minimum99 posted some code that might help. I haven't tried it (I rolled my own years ago) but I'd give it a whirl:
    http://forums.adobe.com/message/3195790#3195790

  • How to use Combobox to direct link

    Hi all, how can i use combobox to direct link in adf. For example: I have a list of value with combobox, when i selected "Page A" ---> go to Page A, selected "Page B" ----> go to Page B
    Thanks

    Hi,
    How about using a menu model instead of a combo box? Check out this example : Oracle JDeveloper 11g Release 2 Tutorials - Creating ADF Menus for Page Navigation
    -Arun

  • Combobox (in matrix) not selectable?!

    hello all.
    i'd like to ask something.
    see, i am populating a combobox within a column within a matrix.
    all the values are there alright,
    but i can't seem to select any entry ***
    more details:
    i DO see the drop down with all the values,
    but whenever i select (programmicaly or using the mouse),
    nothing is shown in the combobox,
    and indeed the combobox.SELECTED is nothing!
    why?
    need i attach/bind it to datasource?
    i don't want to do that.
    thank you for your time.
    -i.

    Hi Itay,
    You are right, you need to bind the combobox to a datasource. I think binding to userdatasource is very useful and it's the mechanism of SAP Business One application. So I suggest you to do that.
    Here is a sample.
    Set oColumn = oColumns.Add("customer", it_COMBO_BOX)
        oColumn.TitleObject.Caption = "customer"
        oColumn.Width = 127
        oColumn.Editable = True
        oForm.DataSources.UserDataSources.Add "Customer", dt_LONG_TEXT, 30
        oColumn.DataBind.SetBound True, "OCRD", "CardType"
        Set oUserDataSource = oForm.DataSources.UserDataSources.Item("Customer")
    Hope it helps.
    Best Regards,
    Nick He

  • Use ComboBox TableCellEditor  - values are not saved to the table model

    Hi,
    I got a combobox cell editor that uses to edit one of the columns.
    And i got an ok button that uses to collect the data from the table and save it to the db.
    In case i started editing of a cell and the editor is still displayed- if i will click on the button the data that will be colected from the table model will not contained the updated value in the cell editor.
    In this case the user think his changes were saved but the last updated field is not updated.
    Is this a bug i got in the cell editor or this is the normal behaviour?
    Can it be fixed? (So that if the cell is in the middle of editing the value that will be saved is the last value that was selected).
    public class PriorityCellEditor extends StandardComboBox implements TableCellEditor {
        private boolean isEditMode=false;
         * A list of eventlisteners to call when an event is fired
        private EventListenerList listenerList = new EventListenerList();
         * the table model
        public StbAreaClusterPriorityCellEditor(boolean isEditMode) {
            super(StbAreaMapper.clustersPriorities);
            setEditMode(isEditMode);
            setEditable(false);
            this.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
            setAlignmentX(Component.LEFT_ALIGNMENT);
        public boolean isEditMode() {
            return isEditMode;
        public void setEditMode(boolean editMode) {
            isEditMode = editMode;
            setEnabled(editMode);
        public Component getTableCellEditorComponent(JTable table, Object value,boolean isSelecte, int row, int column) {
            int selectedIndex;
            if (isSelecte) {
                setForeground(table.getSelectionForeground());
                setBackground(table.getSelectionBackground());
            } else {
                setForeground(table.getForeground());
                setBackground(table.getBackground());
            if(value instanceof String){
                selectedIndex=StbAreaMapper.mapGuiPriorityDescToGuiCode((String)value);
                setSelectedIndex(selectedIndex);
            return this;
        public void cancelCellEditing() {
            fireEditingCanceled();
        public Object getCellEditorValue() {
            return getSelectedItem();
        public boolean isCellEditable(EventObject anEvent) {
            return isEditMode;
        public boolean shouldSelectCell(EventObject anEvent) {
            return false;
        public boolean stopCellEditing() {
            fireEditingStopped();
            return true;
         * Adds a new cellEditorListener to this cellEditor
        public void addCellEditorListener(CellEditorListener l) {
            listenerList.add(CellEditorListener.class, l);
         * Removes a cellEditorListener from this cellEditor
        public void removeCellEditorListener(CellEditorListener l) {
            listenerList.remove(CellEditorListener.class, l);
         * Notify all listeners that have registered interest for notification on
         * this event type.
         * @see javax.swing.event.EventListenerList
        protected void fireEditingStopped() {
            // Guaranteed to return a non-null array
            Object[] listeners = listenerList.getListenerList();
            // Process the listeners last to first, notifying
            // those that are interested in this event
            for (int i = listeners.length - 2; i >= 0; i -= 2) {
                if (listeners[i] == CellEditorListener.class) {
                    ((CellEditorListener) listeners[i + 1]).editingStopped(
                            new ChangeEvent(this));
         * Notify all listeners that have registered interest for notification on
         * this event type.
         * @see javax.swing.event.EventListenerList
        protected void fireEditingCanceled() {
            // Guaranteed to return a non-null array
            Object[] listeners = listenerList.getListenerList();
            // Process the listeners last to first, notifying those that are interested in this event
            for (int i = listeners.length - 2; i >= 0; i -= 2) {
                if (listeners[i] == CellEditorListener.class) {
                    ((CellEditorListener) listeners[i + 1]).editingCanceled(new ChangeEvent(this));
    }

    Try this
    yourTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);

  • Crystal report printing using epson dot matrix printer (continouos paper)

    Hi there, im tiff from the philippines.
    i have a  question on printing using a crystal report. How do i print using epson continuous printer(dot matrix)? im having a problem printing to that type of printer specially using continuous paper. the first page is correct but unfortunately the succeeding pages are not. its automatically adjusted upon reaching the second page. hope you can help me.
    thanks a lot and looking forward to hear from you soon.
    tiff

    Check with the printer manufacturer that the matrix printer is Unicode compliant. If it is not, it will  not work with Crystal Reports. If it is, make sure you have the latest printer driver updates.
    Download SP 1 for CR 102 from here;
    https://smpdl.sap-ag.de/~sapidp/012002523100006007872008E/crvs05sp1.exe
    See the following resources re. printers;
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a09051e9-721e-2b10-11b6-f9c65c64ef29
    [Note #1314394|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Ludek

  • Change category axis of column chart using Combobox in flex

    I am trying to change the data of a column chart using a
    combo box. I am using XML for data.
    What I am planing to do is.. the combo box will get "Month"
    say January, feb etc and same will reflect on the X axis and the
    data related to only the selected month should be shown. Say if
    January is selected, the x axis should show "January" and the chart
    should show only data related to January.
    My XML DATA
    <YearlyData>
    <Sample month="January" revenue="120" costs="45"
    overhead="102" oneTime="23" />
    <Sample month="February" revenue="108" costs="42"
    overhead="87" oneTime="47" />
    <Sample month="March" revenue="150" costs="82"
    overhead="32" oneTime="21" />
    <Sample month="April" revenue="170" costs="44"
    overhead="68" />
    <Sample month="May" revenue="250" costs="57"
    overhead="77" oneTime="17" />
    <Sample month="June" revenue="200" costs="33"
    overhead="51" oneTime="30" />
    <Sample month="July" revenue="145" costs="80"
    overhead="62" oneTime="18"/>
    <Sample month="August" revenue="166" costs="87"
    overhead="48" />
    <Sample month="September" revenue="103" costs="56"
    overhead="42" />
    <Sample month="October" revenue="140" costs="91"
    overhead="45" oneTime="60" />
    <Sample month="November" revenue="100" costs="42"
    overhead="33" oneTime="67" />
    <Sample month="December" revenue="182" costs="56"
    overhead="25" oneTime="48" />
    <Sample month="May" revenue="120" costs="57"
    overhead="30" />
    </YearlyData>
    My MXML Code
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="horizontal" initialize="srv.send()">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    var arrBook:ArrayCollection = new ArrayCollection;
    function ResHandler(event:ResultEvent)
    arrBook = event.result.YearlyData.Sample;
    cb.dataProvider = arrBook;
    ColumnChart1.dataProvider = arrBook;
    function changeChart()
    cb.selectedItem = CA.categoryField
    ]]>
    </mx:Script>
    <mx:HTTPService id="srv" url="dataSheet.xml"
    result="ResHandler(event)" />
    <mx:ComboBox id="cb" labelField="month"
    change="changeChart()"/>
    <mx:ColumnChart id="ColumnChart1" width="688">
    <mx:horizontalAxis>
    <mx:CategoryAxis id="CA" categoryField="month" />
    </mx:horizontalAxis>
    <mx:series>
    <mx:ColumnSeries displayName="revenue 1"
    yField="revenue"/>
    <mx:ColumnSeries displayName="costs 1"
    yField="costs"/>
    <mx:ColumnSeries displayName="overhead 1"
    yField="overhead"/>
    <mx:ColumnSeries displayName="onetime 1"
    yField="onetime"/>
    </mx:series>
    </mx:ColumnChart>
    <mx:Legend dataProvider="{ColumnChart1}"/>
    </mx:Application>

    Hi Chris,
    That is a Category graph (2-D Line).
    A Scatter Plot will allow you to change the Scale and Steps on the X axis.
    Click on the Chart (Graph) and Format Panel > Axis
    To get a Connection Line or a Trendline on the Scatter Plot, Format Panel > Series
    For a Scatter Plot, put your X and Y data in Header Columns (or Header Rows).
    Regards,
    Ian.
    P.S. I see that SG has found the solution . Ian.

  • How to use combobox to filter datagrid in Flash Builder 4?

    Hi,
    I've been working through the TestDrive application with Flash Builder 4 and I would like to learn how to filter a datagrid using a combobox.  I've googled the subject and results for many different versions of Flash, some which look like they will take a considerable amount of time to implement.  I'm hoping with Flash Builder 4 there is a straight-forward way to do this without writing pages of code.
    I think I may be close to getting this working by passing the combobox value into a PHP script which queries the database with a WHERE clause.
    Thakns,
    David

    I was able to get the data returned from a PHP call into an array by placing the following in the service result handler:
       public var myEmployeesArray : Array;
       [Bindable]
       public var myEmployeesDataProvider : ArrayCollection;
        myEmployeesArray = mx.utils.ArrayUtil.toArray(event.result);
        myEmployeesDataProvider = myEmployeesArray[0];   //data provider for the datagrid
    Not certain how to use filterfunction yet though.  I started to read this page but need to work on it more: http://cookbooks.adobe.com/post_Using_the_to_ArrayCollection_s_filterFunction-5441.html
    I'd like to filter only one field in the ArrayCollection.
    Also, for anyone else who may be learning while reading this, I found the following page helpful in figuring out how to load the PHP service return data into an array:
    http://www.cflex.net/showFileDetails.cfm?ObjectID=415
    David

  • Combobox in Matrix

    Hi,
    I have created a form through UDO which has a matrix linked to a table.
    One of the columns of the matix has to be a combo box which in turn is to be linked to
    another table.
    Can this be done, if so how to do it?
    I can using C#

    Hi,
    I think I havent made the question very clear.
    the marix is linked to the user table(table 1) which was generated using UDO,
    and I want one of the cloumns say (col2)
    to have values in combo box filled from another user table(table2).
    when trying to do it , I now get an error message
    Specified cast is not valid.
    Invalid query tree  [300-33]. The SQL error is 8180
    Can you send me some sample Code.

  • Using a 3D matrix with a matlab script block

    Hi all of you,
    it is possible to input a 3D matrix (e.g. 10x4x20) to a matlab script block or you have to unfold this data in a 2D array?
    Do you know what i have to do to input directly a 3D array (array of real numbers) to a matlab script block.
    P.D.; I'm using labview 7.0 and matlab 6.5
    Thank you very much
    Larson

    Hi,
    as far as I know there is only the possibility to have an input for a
    2D array to matlab scriptnode. Thus you should convert your 3D data to
    2D in LV and reconvert it in your matlab code into 3D.
    When you select 3D data as an output of a script node it automatically
    appears as 2D (but no data will be lost). So when you have to use it in
    LV again as 3D data, what you have to do is reconvert it back from 2D
    to 3D.
    Hope this helps!

  • Query using combobox

    Hai'
    I'm working on vb dotnet with sql as backend.
    I'm using two forms .
    1.to get the employee name and daily dates.
    2.form with 2combobox----to display the month(eg.january,april)
    To display the name
    using table named dept with following fields:
    empid varchar(50)
    date datetime(8) format:dd/mm/yyyy
    empfname varchar(50)
    eg:
    01/01/2005
    04/03/2005
    10/01/2005
    23/03/2005
    19/01/2005
    jus want sql query which should compare the date format(dd/[i]mm/yyyy) with the month selected from combobox.
    should i assign the string month(april,may) to numeric[b] mm as in the format and then store it in a column.
    i'm doing this so that i will be able to retrive the result as a monthly report
    eg:
    january(selected from combobox)
    01/01/2005
    10/01/2005
    19/01/2005

    -- If combo returns numeric month
    SELECT *
    FROM dept
    WHERE MONTH(date) = combo_month
    -- If combo returns character month
    SELECT *
    FROM dept
    WHERE MONTH(date) = CASE combo_month WHEN 'January' THEN 1 WHEN 'February' THEN 2 ...... END
    Can't remember whether CASE can be used in WHERE clause. If CASE cannot be use in WHERE clause then you just need to write a simple function that can return the month in number when it accepts a character month. Unable to test out the query as I do not have SQL SERVER environment in my current job.

  • Using comboBox in Module

    Hi!
    I have the following code that works just fine (combo.mxml):
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application backgroundColor="0xE6E6E6" xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" xmlns="*" themeColor="0x0000B0">
    <mx:Script>
    <![CDATA[
    public function initYearArray():void {
    var yearArray:Array=new Array();
    var thisYear:Number=new Date().getFullYear();
    var year:Number;
    for (year=0;year<thisYear-1920;year++) {
    yearArray[year]=String(thisYear-year);
    yearArray.unshift("");
    S_PER_DTENAISANNEE.dataProvider=yearArray;
    ]]>
    </mx:Script>
    <mx:ComboBox styleName="ComboBox" id="S_PER_DTENAISANNEE"
    text="" initialize="initYearArray();"/>
    </mx:Application>
    What I'm trying to do is include this code into a module that
    is loaded in another mxml file, using the following code:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    backgroundColor="0xE6E6E6" themeColor="0x0000B0">
    <mx:Script>
    <![CDATA[
    import mx.modules.*;
    ]]>
    </mx:Script>
    <mx:ModuleLoader url="combo.swf" id="moduleTop"
    width="100%"/>
    </mx:Application>
    I tried changing mx:Application into mx:Module, but it
    doesn't seem to work.
    Please help me, I don't know what I'm doing wrong....
    Tnx, Paul

    Hi,
    A Combobox like in J2SE is not available in MIDP.
    But, you can use a ChoiceGroup for providing a list of choices. It's even possible to play with the ChoiceGroup configuration by specifying a choicetype. Most implementations will visualise Choice.POPUP as one visible choice and when 'toggling' a small box comes up. ChoiceGroup configured as Choice.POPUP seems to be the best alternative to the 'known' J2SE Combobox.
    Hope that answers your question...
    Good luck!

  • Using ComboBox as an editor for treenodes

    I have a customized combobox editor for editing treenodes. The treenodes may or may not editable based on a particular condition in the userobject at each node.
    The node and the combobox are rendered fine but as soon as I select an item from the combobox, i see the following error messages in the stack trace and the code goes into an infinite loop :
    Exception occurred during event dispatching:
    java.lang.StackOverflowError
         at java.lang.ref.Reference.<init>(Reference.java:198)
         at java.lang.ref.FinalReference.<init>(FinalReference.java:19)
         at java.lang.ref.Finalizer.<init>(Finalizer.java:69)
         at java.lang.ref.Finalizer.register(Finalizer.java:75)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:883)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:950)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:79)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:86)

    Here's the code for the custom combobox editor:
    public class ScmComboBoxEditor extends DefaultCellEditor
    private JTree m_tree;
    /* private JComboBox m_comboBox;
    protected EventListenerList _treeNodeListeners = new EventListenerList();
    protected ChangeEvent changeEvent = null;
    public ScmComboBoxEditor(JTree tree, JComboBox combo)
    super(combo);
    m_tree = tree;
    setClickCountToStart(3);
    public Component getTreeCellEditorComponent(JTree tree, Object value,
                                  boolean isSelected,
                                  boolean expanded,
                                  boolean leaf, int row)
    Component comp = super.getTreeCellEditorComponent(tree, value, isSelected, expanded, leaf, row);
    if(comp instanceof JComboBox)
    JComboBox combo = (JComboBox)comp;
    ScmTreeNode thisNode = (ScmTreeNode)value;
    /* if(thisNode.getUserObject() instanceof ScmObject)
    ScmObject thisObj = (ScmObject)thisNode.getUserObject();
    Vector vItems = new Vector();
    vItems.addElement(thisObj);
    for(int j = 0; j < 3; j++)
    ScmObject obj = new ScmObject();
    obj.setName("Branch" + (j+1));
    vItems.addElement(obj);
    DefaultComboBoxModel comboModel = new DefaultComboBoxModel(vItems);
    combo.setModel(comboModel);
    if(thisNode.getUserObject() instanceof MappableProject)
    MappableProject thisObj = (MappableProject)thisNode.getUserObject();
    if(thisObj.hasBranches())
    Vector vItems = new Vector();
    vItems.addElement(thisObj);
    for(int j = 0; j < 3; j++)
    MappableProject obj = new MappableProject();
    obj.setName("Branch" + (j+1));
    vItems.addElement(obj);
    DefaultComboBoxModel comboModel = new DefaultComboBoxModel(vItems);
    combo.setModel(comboModel);
    else if(thisNode.getUserObject() instanceof MappableFolder)
    MappableFolder thisObj = (MappableFolder)thisNode.getUserObject();
    if(thisObj.hasBranches())
    Vector vItems = new Vector();
    vItems.addElement(thisObj);
    for(int j = 0; j < 3; j++)
    MappableProject obj = new MappableProject();
    obj.setName("Branch" + (j+1));
    vItems.addElement(obj);
    DefaultComboBoxModel comboModel = new DefaultComboBoxModel(vItems);
    combo.setModel(comboModel);
    return comp;
    public boolean isCellEditable(EventObject ev)
    boolean rv = false;
    if(ev instanceof MouseEvent)
    MouseEvent me = (MouseEvent)ev;
    System.out.println("Clicks = " + me.getClickCount());
    if(me.getClickCount() == this.getClickCountToStart())
    TreePath path = m_tree.getPathForLocation(me.getX(), me.getY());
    ScmTreeNode node = (ScmTreeNode)path.getLastPathComponent();
    if(((ScmObject)node.getUserObject()).hasBranches())
    rv = true;
    return rv;
    public boolean stopCellEditing()
    this.fireEditingStopped();
    return false;
    public void cancelCellEditing()
    this.fireEditingCanceled();
    /* public void addCellEditorListener(CellEditorListener l)
    _treeNodeListeners.add(CellEditorListener.class, l);
    public void removeCellEditorListener(CellEditorListener l)
    _treeNodeListeners.remove(CellEditorListener.class, l);
    protected void fireEditingStopped()
    Object[] listeners = _treeNodeListeners.getListenerList();
    for(int i = listeners.length-2; i >= 0; i-=2)
    if(changeEvent == null)
    changeEvent = new ChangeEvent(this);
    ((CellEditorListener)listeners[i+1]).editingStopped(changeEvent);
    protected void fireEditingCanceled()
    Object[] listeners = _treeNodeListeners.getListenerList();
    for(int i = listeners.length-2; i >= 0; i-=2)
    if(changeEvent == null)
    changeEvent = new ChangeEvent(this);
    ((CellEditorListener)listeners[i+1]).editingCanceled(changeEvent);
    public void setCellEditorValue(Object value)
    m_comboBox = (JComboBox)this.editorComponent;
    m_comboBox.setSelectedItem(value);
    }

  • How to use comboBox as the key to display multiple textInput fields?

    All,
        I am new in Flex and need to help!
    I have selected rows from database and need to display on one comboBox with several textInput fields. The function need to
    1) After the page complete load, the comboBox display the ID (unique key of the row).
        and all fields should fill by the columns with the ID. ( I did it with only one textInput)
    2) When it selects an ID from comboBox, all fields with the ID should change accordingly.
    See attached file.
    Please help.
    Thank you in advance!

    Hi,
    there is an example. All you need to receive your data and
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:XML id="tstData" xmlns="">
    <yueventlists>
    <yueventlist event_id="EMB09">
      <event_id>EMB09</event_id>
      <stvcoll_desc>Albert Einstein College of Med</stvcoll_desc>
      <LOCATION_NAME>Bronx comm center</LOCATION_NAME>
      <LOCATION_ROOM>101</LOCATION_ROOM>
      <LOCATION_CONTACT />
      <PHONE />
      <FAX />
      <STREET />
      <CITY_PROVINCE>New York</CITY_PROVINCE>
      <STATE>NY</STATE>
      <ZIP>10471</ZIP>
      <COUNTRY />
      </yueventlist>
    <yueventlist event_id="EMB10">
      <event_id>EMB10</event_id>
      <stvcoll_desc>Albert Einstein College of Med</stvcoll_desc>
      <LOCATION_NAME>Bronx Red Lobster</LOCATION_NAME>
      <LOCATION_ROOM>102</LOCATION_ROOM>
      <LOCATION_CONTACT />
      <PHONE />
      <FAX />
      <STREET />
      <CITY_PROVINCE>New York</CITY_PROVINCE>
      <STATE>NY</STATE>
      <ZIP>10463</ZIP>
      <COUNTRY />
      </yueventlist>
    <yueventlist event_id="YUD09">
      <event_id>YUD09</event_id>
      <stvcoll_desc>Yeshiva University</stvcoll_desc>
      <LOCATION_NAME>Chelsea Piers Pier Sixty</LOCATION_NAME>
      <LOCATION_ROOM>103</LOCATION_ROOM>
      <LOCATION_CONTACT>0</LOCATION_CONTACT>
      <PHONE>0</PHONE>
      <FAX>0</FAX>
      <STREET>0</STREET>
      <CITY_PROVINCE>New York</CITY_PROVINCE>
      <STATE>NY</STATE>
      <ZIP>10033</ZIP>
      <COUNTRY>0</COUNTRY>
      </yueventlist>
      </yueventlists>
    </mx:XML>
    <mx:Form x="126" y="57">
    <mx:ComboBox id="cmbID" dataProvider="{tstData.*}" labelField="@event_id"></mx:ComboBox>
    <mx:FormItem label="School Name">
    <mx:TextInput id="schoolName" text="{cmbID.selectedItem.stvcoll_desc}"/>
    </mx:FormItem>
    <mx:FormItem label="Location Name">
    <mx:TextInput id="locName" text="{cmbID.selectedItem.LOCATION_NAME}"/>
    </mx:FormItem>
    </mx:Form>
    <!-- and so on... -->
    </mx:Application>

  • Add column (ComboBox, EditText,...) to Matrix !  use C#

    How can i add colunm (fields) to matrix?
    How can I add the combo box, edit text, ect.. into the row in the matrix table?
    Plz give me a example.
    Rgds~

    Hi,
    U can find the required information in the following threads.
    ComboBox in Matrix
    ComboBox in a Matrix
    UI - ComboBox in Matrix
    Hope this helps,
    Vasu Natari.

Maybe you are looking for