Select column in Flash datagrid?

When someone is using a datagrid, is there a default way (not involving extra coding) to select just one entire column?
Currently when I click the header, it changes the order. Is there a Ctrl key + click combo that does this?
Cheers

Gidday kGlad, and thanks mate.
You know how Ctrl-A selects the WHOLE grid? I was wondering if there's something like that that selects all the rows in just one column. So for example, when editing a grid, you could select and delete all the data from one column.

Similar Messages

  • Is it possible to build a reliable application with the flash datagrid ???

    Hello all,
    Next problem in my non-stop nightmare using a flash datagrid to build an application
    I have a datagrid in my movieclip.
    Under Windows, if I select a row of the datagrid in read-only mode, let's say row 10 on screen, if I then switch the Windows active window (that means the datagrid looses the focus) and come back to my datagrid, the selected row is kept. OK !
    BUT, if I select a row in edit mode, let's says row 10, if I change the focused Windows window and then come back to my DataGrid, the selected row is now the first visible row on page ! If I then click outside my Flash application and then back into my Flash application, I get a crash: error #1009:Cannot access a property or method of a null object reference.
    The error message is very short. It seems to focus manager tries to access a TextField property but, which one ? No details, no function name in the error message.
    So:
    - how to avoid this "change active row when loosing / getting focus" in edit mode of datagrid ?
    - how to have more details in the error ? Are there "details levels" in Flash error management ?
    Thanks for all, I begin to stress: I'm at the half-time of my project and I'm nowhere because of that datagrid strange behaviours

    Might look at: https://jsfportletbridge.dev.java.net to get started.

  • Using dynamic column name in datagrid selectedItems

    Hi
    I have a datagrid loaded with 2 columns. Allowmultiselect is turned on.
    Based on the values selected at run time, I get the corresponding selected column name and its values and shown it on HTML screen.
    // grp is datagrid
    // dgrcl is a data grid column
    // selflds is an array which has 0,1,2,3 values
    //selflds[0] = name,selflds[1]=age
    for (var l:int=0; l<grp.columnCount; l++)
    dgrcl =grp.columns[l];
    selflds[l] = dgrcl.dataField;
    // srhVals will have only one selected value at any point
    // getting the corresponding selected column name and its value
    var  srhVals:String;
    srhVals = String(grp.selectedItem[selflds[1]]);
    I am trying to achieve the above selection instead by .selectedItems somthing like this below. By doing like this, I will get all the selected items but not only one. If i try below syntax, i get error. Any one has ideas on how to do.
    srhVals = String(grp.selectedItems.selflds[1]);

    Hi
    I got my mistake, there should be no dot operator after selectedItems;
    I got a solution - it goes like this:
    for(var g:int=0;g<grp.selectedItems.length;g++)
    srhVals = srhVals + String(grp.selectedItems[g][selflds[1]]);
    So the complete scenario is like this:
    Datagrid:
    Name      Age    
    a               20
    b               30
    c               40
    d               50
    I am selecting b,d in UI. At run time, I get programatically the selecteditem column name as "Name", loop through the selecteditems and store the value in srhVals as b,d.
    b,d will be finally shown in UI.

  • Delete column in a datagrid

    Hi All,
    I was trying to delete a column in the data grid .
    Explanation : The data grid has 16 columns filled with data
    , when a specific column is selected and the "delete button(this
    button is under the datagrid) is clicked I should be able to delete
    the column , and the subsequent columns should move to the left
    (for example : if I select column 7 and click delete button ,
    column 7 should be deleted and column 8 should move left in place
    of the column 7).
    Can anybody please help me on this issue.
    thanks

    "rtalton" <[email protected]> wrote in
    message
    news:gh68h2$8c9$[email protected]..
    > You'll need to read up on the ArrayCollection methods in
    the help docs
    > (getItemAt, removeItemAt, etc.) and decide what works
    best for you
    > scenario.
    I think you'd have to loop through the array collection and
    remove that
    property off all the objects, assuming it's a dynamic object.

  • How to select a row in datagrid by checking the check box in that row

    how to select a row in datagrid by checking the check box in that row.
    Im using <html:checkbox> tag, and also a VO which is in request scope. i wanna display the values in the VO in a row and corresponding to this i want a checkbox..
    Thanx in advance
    Message was edited by: me
    Hemanth@SA
    Message was edited by:
    Hemanth@SA

    Hello,
    I got the solution:
    final int pRow = row;
    final int pCol = column;
    final JTable myTable = mytable;
    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    myTable.requestFocusInWindow();
    myTable.changeSelection(pRow, pCol, true, true);

  • File browsing and showing selected files in a datagrid? i'm missing something small... i hope

    I am currently allowing the user to browse and select multiple files. I'd like to display the selected files in a datagrid. Here's my code. What am I missing?
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                                         xmlns:s="library://ns.adobe.com/flex/spark"
                                                         xmlns:mx="library://ns.adobe.com/flex/mx">
      <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
      </fx:Declarations>
      <fx:Script>
                        <![CDATA[
                                  import mx.collections.ArrayCollection;
                                  public var Files:File;
                                  [Bindable]
                                  public var arrUploadFiles:Array;
                                  private function init():void
                                            arrUploadFiles = new Array()
                                            Files = new File(); 
                                            Files.addEventListener(FileListEvent.SELECT_MULTIPLE,onSelect_multiple_files); 
                                            Files.browseForOpenMultiple("Select Files to Send!!"); 
                                  public function onSelect_multiple_files(f_evt:FileListEvent):void
                                            for each(var tempF:File  in f_evt.files){ 
                                                      tempF.load(); 
                                                      arrUploadFiles.push(tempF);
                                                      trace (tempF.nativePath);
                        ]]>
      </fx:Script>
              <s:Button x="259" y="454" label="Browse for Files" click="init()"/>
              <s:DataGrid x="159" y="211" requestedRowCount="4">
      <s:columns>
      <s:ArrayList>
                                            <s:GridColumn dataField="dataField1" headerText="Column 1"></s:GridColumn>
                                            <s:GridColumn dataField="dataField2" headerText="Column 2"></s:GridColumn>
                                            <s:GridColumn dataField="dataField3" headerText="Column 3"></s:GridColumn>
      </s:ArrayList>
      </s:columns>
      <s:typicalItem>
                                  <fx:Object dataField1="Sample Data" dataField2="Sample Data" dataField3="Sample Data"></fx:Object>
      </s:typicalItem>
      <s:ArrayList>
                                  <fx:Object dataField1="data1" dataField2="data1" dataField3="data1"></fx:Object>
                                  <fx:Object dataField1="data2" dataField2="data2" dataField3="data2"></fx:Object>
                                  <fx:Object dataField1="data3" dataField2="data3" dataField3="data3"></fx:Object>
                                  <fx:Object dataField1="data4" dataField2="data4" dataField3="data4"></fx:Object>
      </s:ArrayList>
      </s:DataGrid>
    </s:WindowedApplication>

    Arrays do not send out change events so the DG doesn’t know you pushed things onto it.  If you used the DG’s dataProvider it will have wrapped the array in an ArrayCollection and will notice the changes.  There is a FileSystemDataGrid component by the way.

  • Report Does Not Follow Select Column Order

    Hi all,
    Apex 2.2 on 10gXE
    I always encounter this problem, the display column on report does not follow the select column sequence order in the "region source".
    It is very tedious clicking the up/down arrow one-by-one in the "report attributes" especially if the display columns are plenty like 40 columns.
    Is there a fix/patch or alternative tips for this bug?
    Thanks a lot,
    Edited by: 843228 on May 24, 2011 10:32 PM

    Apex 2.2 on 10gXEStart by upgrading from this old unsupported version.
    >
    I always encounter this problem, the display column on report does not follow the select column sequence order in the "region source".
    It is very tedious clicking the up/down arrow one-by-one in the "report attributes" especially if the display columns are plenty like 40 columns.
    Is there a fix/patch or alternative tips for this bug?
    >
    This is not a bug. APEX maintains the original column order of the report. This avoids problems downstream in areas like the processing of <tt>g_fnn</tt> arrays in declarative tabular forms, where the assigned arrays are column-order dependent.
    APEX 4.x fixes column ordering bugs that could lead to report corruption, and includes drag-and-drop column ordering in the new tree view in addition to the up/down arrow re-ordering.
    If you really want column order to follow that in the source query, the workaround is to create a new report using the modified query.

  • Interactive Report - Include Non-selected Column in Row Text Search

    Hi,
    We have an interactive report that contains many columns. NAME VARCHAR2(30), TYPE VARCHAR2(30) etc and DESCRIPTION VARCHAR2(4000).
    Normally the DECRIPTION column would not be shown (avalilable for dispaly via 'Select Columns' but not selected), however we need the default Row Text Search (ie direct entry into the search field instead of creating a column filter) to search the DESCRIPTION field wether it is selected for display or not.
    This will allow the user to enter a term that may be contained in the DESCRIPTION to find records without trying to display a 4000 character field in the report - which just looks horrible.
    We are using ApEx 4.1.1.
    Thanks,
    Martin Figg

    Hi Ray,
    As I expected this has got us very close. We went with the code:
    select
    facility_id,
    facility_name,
    '<span title="' || facility_desc|| '">'||substr(facility_desc,0,50)||decode(sign(length( facility_desc)-50),1,' (More...)',NULL)||'</span>' facility_desc,
    equipment_id,
    equipment_name,
    '<span title="' || equipment_desc|| '">'||substr(equipment_desc,0,50)||decode(sign(length( equipment_desc)-50),1,' (More...)',NULL)||'</span>' equipment_desc,
    from
    rf_full_item_list_vwhich works well. The only issue is that when you download to csv you get the html tags etc as well. Put I am a lot closer to a solution than we were.
    Thanks again.
    Martin

  • How to find out the selected column in Table Control

    Hi all,
          How to find out the selected column in Table Control?
    Thanks & Regards,
    YJR

    Hi,
    Let your table control name in Screen painter be TC1.
    READ TABLE TC1-COLS INTO WA_COLS (some wok area)
                 WITH KEY SELECTED = 'X'.
            IF SY-SUBRC = 0.
              CLEAR: W_DUMMY, W_COL_NAME.
              SPLIT WA_COLS-SCREEN-NAME AT '-' INTO W_DUMMY
                                                   W_COL_NAME.
            endif.
    W_COL_NAME gives you the column name.
    Hope it helps.
    cheers
    sharmistha

  • How to select columns in a table by their column id and not the column name

    Hello,
    How do you select columns from a table based on their column_id.
    I have create a view
    but other than Select * , i cant now select one just one column from it
    the view as follow:
    create view count_student as
    select a.acode "acode",aname "Activity Name",count(ae.acode) "Number of student joined"
    from aenrol ae, activity a
    where a.acode= ae.acode
    group by a.acode,aname;

    The issue is that you have decided to use quoted column names. A pretty horrible idea (mostly for the reasons that you are now finding).
    Re-create the view and get rid of the silly double quotes.

  • How to export selected columns in a table using expdp of oracle10g

    Hi all..
    I have a table with 10 columns and i want to export only 4 columns(selected columns) data using expdp
    Pl. tell me if we can do this and if yes what is the syntax.
    Thanks..
    Sekhar

    That's not possible, you could use QUERY to specify where clause but not columns in select clause,
    for example,
    QUERY=employees:'"WHERE department_id > 10 AND salary > 10000"'
    you could use
    create table2export as select c1,c2,c3,c4 from tableof10columns;and export the temp table.

  • Changes to selected columns to display in Details tab in Task Manager are not saved during a reboot

    I use Task Manager on Server 2008 R2 to monitor performance. I have added several columns to the Processes tab using View..Select Columns. I have added CPU time, I/O read/write/other bytes, etc.
    The equivalent in Server 2012 is the Details tab. I figured out how to add these same columns - right click on the column headers, and choose "Select columns". This is not obvious by the way.
    However these selections are not persistent across a reboot. So every time I reboot, I need to add the columns back to the display. That is not the case with Server 2008 R2 - they are persistent.
    I am using a domain administrator userid, but not using roaming profiles.
    This is a retrogression vs. Server 2008 R2. Can it be fixed?

    Hi,
    I meant that both the added columns of Windows Server 2008 R2 and Windows Serve r2012 RC are persistent.
    You may install a new Windows Serve r2012 RC to check the symptom.
    Currently, you may perform a System File Checker (SFC /Scannow) to check the result.
    Regards,
    Arthur Li
    TechNet Community Support
    Arthur, I have the exact same problem as David Trounce.  The problem exists, as he described it, and I don't think you are understanding it.  Please pass this problem/bug/defect report to someone else so that it can be logged and fixed before
    RTM.  Thanks! -Kent

  • How to export only selected columns of WD ALV to excel

    Hi,
    I have WD ALV report with EXPORT button (since standard button was not working properly i just hide that and added custom one) & standard dropdown to choose layout. Out of 20 columns user may choose n number of columns, the same number of columns i need to transfer to xls. How to export only selected columns to xls. Any method or FM to filter number of columns being transfer to xls. please advise
    Rgds
    sudhanshu

    Hi,
    Where exactly we are (or going to be) using this reference i.e., CL_SALV_WD_CONFIG_TABLE. Im passing contents, filename & MIME type as:
    call function 'SCMS_STRING_TO_XSTRING'
        exporting
          TEXT   = TEXT
        importing
          BUFFER = XTEXT.
    WDR_TASK=>CLIENT_WINDOW->CLIENT->ATTACH_FILE_TO_RESPONSE(
    **path to the word file
        I_FILENAME = 'WDP.xls'
    String Variable
        I_CONTENT =  XTEXT
    File Type
        I_MIME_TYPE = 'EXCEL' ).
    In CL_SALV_WD_CONFIG_TABLE we have few methods related to column settings however not sure where exactly we will be using this class reference. can you please give some idea so that i can do some r&d in that.
    Rgds
    Sudhanshu

  • How to put image in table selection column in advanced table

    i need to put some image(not a picture, its just a traingalur shape image with different colour which indicates some messages to the user if suppose user adds a data which is duplicate with other row or he may copy existing row and dont change it.) can any one give me an idea of how to achieve this

    Are you looking for image in selection column or as a separate column?
    --Shiv                                                                                                                                                                               

  • How to freeze the selection column in the table control of the module pool.

    hi ,
    in my module pool there is a row selection field  <b>w/selcolumn</b> of the table control called as mark.
    how to freeze the selection column where there is no record in the table control row.
    or in other words where wa is initial.
    thanks
    ekta

    Hi all,
    in the PBO of the screen the following code is written.
    say the selection column is MARK and is declared in the data as well.
    thanks
    ekta
    *************************C O D E **************************************************
    MODULE disp_tabctrl1 OUTPUT.
      IF flag_c = 1.
        READ TABLE it_create_data INTO wa_material_data
             INDEX tab_ctrl1-current_line.
      ELSE.
        READ TABLE it_material_data INTO wa_material_data
             INDEX tab_ctrl1-current_line.
        IF sy-subrc = 0.
          IF ok_code_0101 = '&SEL1'.
            mark = 'X'.
          ELSEIF ok_code_0101 = '&DSEL'.
            mark = ' '.
          ENDIF.
        ELSE.
          LOOP AT SCREEN.
            IF screen-name = 'MARK'.
              screen-input = 0.
              MODIFY SCREEN.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
      index_t = tab_ctrl1-top_line.
      index_d = tab_ctrl1-top_line + n.
    ENDMODULE.                 " DISP_TABCTRL1  OUTPUT

Maybe you are looking for

  • Yoga Tablet 2 Pro 1380F - Projector Focus Problem

    Hi, I have a problem with the focus in my 1380F. When I try to focus the projector image it only focus part of the screen. For example, when I'm watching a movie and I get the best focus on the centre of the screen the subtitles get blur, and vice-ve

  • How do I stop receiving messages on my macbook pro and receive them on my iPhone 5s?

    I have a macbook pro 13 inch with Retina display and intel core i5 and I also have an iPhone 5s. When I receive a new iMessage I only receive it on my macbook and not on my iPhone. I wanted to know how to go back to receiving messages on my iPhone an

  • What are these applications?

    Hello, I've bought a used phone, and don't know which of these applications are there by default, and which I can safely uninstall. Please advise: - Client Platform - Contacts Group DS Plugin - Media DS Plugin - MMS DS Plugin - Nokia Ovi Provisioner

  • How to re-install 10.7 without super drive for new MBA?

    I just got the new MBA. I didn't buy the super drive. Just wondering how to re-install it if the system crashes... I dont even have a USB drive like snow-leopard version MBA

  • Magic mouse doesn't allow me to zoom in and out, just scroll

    just purchased imac and magic mouse, read allow instructions and how to use and have everything correct in settings but doesnt let me zoom in and out. tried holding control down and still nothing ?