AdvancedDataGrid / DataGrid on itemEditBeginning how to keep multi-select

When I edit some field in DataGrid I loose all my multi-selected rows ,  is there built-in way to prevent edit events from clearing selected rows ?
I understand that I can do it manually for example,  everytime I have a select event row I can save the selected indices so when I start editing I won't loose them and then I can re-select them on ItemEditEnd .
But is there more simple way ?

To select multiple rows, columns, or disparate cells, you must click, so you could save the selections then, so when the selections get wiped out in the UI you still might have access to them. But I think you are right, there's no easier way to do this.

Similar Messages

  • How to move multi select rows(records)from one datagrid to another datagrid completelly in flex4

    hi friends,
    I  am doing mxml flex 4 wep application i am using 2 forms, each form i am using datagrid,i am struck in this place,
    my proplem is, in first form i am having a grid with 10rows and columns,i am having 10 records and one move button. Next form also having a datagrid,
    need:
    IF i am doing multi select(2records) from the first datagrid and click move button means that records will show in the second datagrid and will also delete
    from the first data grid again it wont show the records in same datagrid.
    how to do this?
    any useful suggession or snippet code.
    thanks in advance,
    Cheers,
    B.venkatesan.

    One solution could be:
    Source to data grid is an Array collection
    1.> In first data grid extraxct the rows using, grid.selecteditem
    2.>Add it to the arraycollection attached to next grid, use arraycollection addItemat api if rows needed to ve added at particular index
    3.>Use removeitemat api to remove the items from arraycollection attached to first datagrid
    4.>call invalidate on bothe of the datagrids

  • How to keep lead selections in alv table...

    Hi experts.
    I made a alv.
    A logic  in wdmodifyview is following..
    METHOD wddomodifyview .
      IF first_time EQ abap_true.
        wd_comp_controller->set_alv_config( ).
      ENDIF.
      wd_this->set_maktx( ).  "<- for displaying maktx
    ENDMETHOD.
    When I want to select a line, do not selected.
    I know because of "wd_this->set_maktx( )." sentence.
    But I want to select multi lines in above condition...
    How to keep selected lines in alv?
    Help me please.
    Thanks.
    Regards.

    What logic is taking place in wd_this->set_maktx( )?  It is pretty difficult to say what is causing the issue without knowing what code you are executing?  If you are resetting the context bound to the ALV, that would explain why you are losing your selections.

  • How to use multi select in a query report

    I defined a lov. This lov retuns name and a id. I want to use the result of this multi select in my query.
    I always get invalid number when I choose two items of the select. When I debug I see that the return value of the multi select is 1:2. How can I change the seperator : in , I tried the following but this does't work.
    if :P26_PRODUCTTYPE IS NOT NULL then
    l_sql := l_sql ||' and producttype in
    (REPLACE(:p26_producttype,'':'','','' ))';
    end if;

    as you're finding, multiple values selected from html db multi-select list items (and checkboxes) are stored as a single, colon-delimited string. i explained an easy way to handle this via pl/sql in...
    Multiple select list
    ...that post shows you how to throw the selected values into a pl/sql table and step through them as needed. it also showed how to use an instr to parse through the string if you want to go that route. you could use that same instr logic right in your sql query. so let's say your lov for your multi-select item (P1_MY_MULTISELECT, we'll call it) was defined as...
    select ename, empno from emp order by 1
    ...and your user selected KING, FORD, and JONES. :P1_MY_MULTISELECT would store those values as...
    7839:7902:7566
    ...you could then write a query to return the selected enames with something like...
    select ename, job
    from emp
    where insrt (':'||:P1_MY_MULTISELECT||':',':'||empno||':') != 0
    ...hope this helps,
    raj

  • How  to Create Multi select  Popup LOV

    Hi,
    I have a requirment in my application like Below scenario.
    I created one page like compose mail. In that i have used popup lov for selecting the user.
    But the problem is, it is allowing only one user to be select.In my case i want to select multiple users to send the
    mail.
    Please help me.
    NR

    Hi,
    How many users do you have in total? If it is a small number (a few dozen) you could use a multi select list or a shuttle item.
    However if there are hundreds of users to choose from, you may need to write your own pop up LOV to select them (probably using an Apex collection to store the temporary list).
    Or if you are really cool you could do something web 2.0-style using ajax (like those boxes in facebook where you just type the names of the persons and it shows a autocomplete list).
    Luis

  • How to view multi-select responses in individual columns

    Hi,
    I have a multi-select field on my form. Users can check none, one, or many responses. When viewing the resluts, the response are concatenated together by a semi-colon and displayed in one column. I need to be able to sort based on the specific responses. Other form engines put these types of multi-select responses into unique columns for sorting purposes. How do I do this in Adobe Forms?
    Thanks,
    Doug Ward

    Doug,
    Did you try the right click and leftclick on the column letter?  I'm pretty sure that addresses the issue.
    Here are a couple of screen shots using a multiselect field with choices "AnswerOne AnswerTwo AnswerThree"
    Here is what happens when you right click on the column heading:
    Here is what happens when you left click on the column's letter (in this case B):
    You'll see that in both cases, you can sort first or last by any of the options in the multiselect field.  If you sort first by AnswerOne, all the responses that chose "AnswerOne" will show up first.  If you sort last by "AnswerOne" all of them will show up last.
    Does this solve the issue you're describing?
    Another option would to use the filtering functionality.  If you open up FormsCentral, go to the Help Menu, and click on FormsCentral Help, then click on "View Responses" and click on "Sort and Filter data", it will walk you through filtering data.  Here is the link
    You can set up filters to show only the response that answer "AnswerOne" or any number of combinations ("AnswerOne" AND "AnswerThree", "AnswerTwo" OR "AnswerThree").
    Hope one of these two methods helps
    Anatole

  • How to disable Multi-selection thing in slicer.

    Hello,
    I am using Slicer in Excel Sheet and i want to disable Multi-selection thing in slicer.
    Is it possible to throw an exception or doesn't allow to do a multiple selection in excel slicer using VBA or without?
    Quick help ll be appreciated  :)
    Thanks & regards,
    Gaurav Badhani.

    Thanks for your reply,
    I used below given code and it's working and i put this code on ThisWorkbook and calling on
     Workbook_SheetCalculate
    Workbook_SheetSelectionChange
    it's working fine but whenever i am selecting slicer value using CTRL key this code is not excuting coz system is not able to call events
    Kindly help me with the events or code coz i am using CTRL key for multi selection and whenever i am using CLRL key it's not working
    Please find below given code
     Dim scl As SlicerCacheLevel
        Dim oSlicer As Slicer
        Dim i As SlicerCaches
        Set i = ActiveWorkbook.SlicerCaches
        Dim oSi As SlicerItem
        Dim ItemsAllowed As Integer
        Dim cntItems As Integer
        ItemsAllowed = 1
        cntItems = 0
        Application.EnableEvents = False
        For Each oSi In ActiveWorkbook.SlicerCaches("Slicer_RC_Description").SlicerItems
             If oSi.Selected Then cntItems = cntItems + 1
            If cntItems > ItemsAllowed And oSi.Selected Then
                oSi.Selected = False
                MsgBox "Please select only one item"
                Application.EnableEvents = True
                Exit Sub
            End If
        Next oSi
    Also tell me what event i should use for ur code or how can i use code using CTRL key
    Thanks & Regards,
    Gaurav Badhani
    A

  • How to make multi select list as dropdown??

    Hi friends,
    using apex 4.0
    i want to make multi select list as dropdown,how can i do this??
    thanks in advance.. :)

    mn123 wrote:
    using apex 4.0You MUST include the following information with every question:
    <li>Full APEX version
    <li>Full DB version and edition
    <li>Web server architecture (EPG, OHS or APEX listener)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    This cuts down on the need for a lot of follow-up questions or second-guessing. Appropriate solutions may differ according to any of these variables.
    i want to make multi select list as dropdown,how can i do this??Please define exactly what you mean by "multi select list" and "dropdown".
    Do you mean displaying a multi-select enabled select list as a drop-down list rather than as a list box? If so, this is not possible using standard APEX/web browser controls.

  • How  to do, multi select drop down in struts

    Hi, I need an example of multi select drop down in struts.
    i m able to select multiple options by giving multiple="true" , but how can i set all these values to actionForm property to save in to the database.
    Thanks
    Naren.

    Hi, I need an example of multi select drop down in
    struts.
    i m able to select multiple options by giving
    multiple="true" , but how can i set all these values
    to actionForm property to save in to the database.
    Thanks
    Naren.In your action you need to call getParameterValues, which (if everything goes according to plan) will give you a String array of the values that were selected.
    Good Luck
    Lee

  • How to make Multi Select Picklist Field Required Based on another field

    Hi,
    I want to make one filed which is Multi select Required(mandatory) based on certain value in another filed.
    I tried putting IIf([<FieldNAme>]> 1000 AND [<FiledNAme1>] IS NULL,"Invalid",[<FieldNAme>]) in the Field validatation as but it is not working.
    Please suggest any workaround available.
    Warm Regards
    Pramod
    Edited by: user11361975 on Jun 3, 2011 5:03 AM

    I guess FieldName1 is the multiselect picklist you are referring to?
    Where did you get the ITAG from? I don't see any multiselect picklists available in Expression Builder. I doubt whether you can set validations on multi select picklists at all.
    If anyone has achieved this please let me know as well.
    Regards,
    Udaya

  • How to have multi select dropdowns for web request and adobe forms

    Hi All,
    I am working on interactive forms for CRM 7.0 using web request and ZCI layout.
    When I say web request we define the fields required for the form in CRM that becomes the context for WDA and passed onto Adobe form.
    This web request is a flat structure which mean if I have a node and attributes with in that you cant have multiple values to wards this node as in WDA.
    Now My query:
      I have a field called "xyz" since web request is a flat structure i just defined it as a string.
      In WDA I made it a enumrated field and added key value pairs to it.
      In Adobe form I binded this field to a WD native enum dropdown list every thing is fine untill here.
      Now in the form I need this as a multiple select, so i changed the dropdown field to list box it works.
      The form has to be submitted as a draft version when did so, it will not execute any APIs but saves the data to the web request.
      When the same form is opened for the next time, with the data in web request it should reopen this field with the multiple seleced values high lighted.
      since the field xyz is a single filed of string, how can i maintain multiple values in that...?
      if there is a form status auto save function in Adobe form this might solve a bit but not sure when the form is opened 2nd time from web reqest view does it consider it as a new one or open the same form...?
    I have such dropdown fields and problems including ones with depenedt values on one another.
    I tried my best to explain the problem, if somebody can help me with this its much appriciated.
    Note: Since this is dependent on CRM web request I am posting the same query in that block also apologies if this mean a duplicacy.
    Thanks & Regards,
    Sai

    I got the solution and problem is solved.
    Iterating & processing a enumrated dropdown is like any other dropdown /list box in adobe forms.
    Regards,
    Sai Krishna

  • How to keep the select arrow on the same button when returning to the menue after finished feature?

    Hello,
    just after my primary question is answered and I corrected my buttons there's another one which I cannot answer myself:
    I'm putting together a DVD with menues which contain a lot of options/buttons. People who watched the DVD wanted that the select/highlight arrow stays/returns to the button they selected prior. That's because there are so many buttons/options that some people might not remember which feature they just watched. So this means if people select the "Vacation 2008" button/feature the select/highlight arrow should be on the same button after the feature is finished and it returns to the menue.
    Since I haven't seen any functions/options for this: Is it possible to do or isn't it or does it happen just naturally?
    Hope this isn't too confusing :-)
    Help is appreciated!
    Thank you,
    Chris...

    ChrisHei wrote:
    Where would I select "Last Menu" for this to happen? In the properties for the button or for the timeline? And where exactly: "overwrite" or "remote menu" selection?
    Not in any override. Don't set any overrides unless you understand exactly how they work, or they will royally mess up your disc navigation.
    Normally, you select "Return to Last Menu" for an end action of the object (timeline, slideshow, playlist, etc.) that is playing. You can also set the Menu Remote property for the timeline/slideshow to "Return to Last Menu".

  • How to keep the selection as the old when I select one and click the submit

    maybe it is a HTML problem,but I still ask for help here!
    When I select one option in the form's element-select and submit it ,I want to keep the JSP page as old, but I can't .I also use cookie and bean.The problem is still being.

    store the parameter names and their corresponding values in a variable, say Hashtable. After you do the submit, you can retrieve the values from the hashtable.
    example:
    if you have these parameter names:
    "name", "age"
    then you can do:
    Hashtable h = new Hashtable();
    h.put("name", request.getParameter("name"));
    h.put("age", request.getParameter("age"));Have this hashtable available in your response jsp so you can retrive the old data.

  • How to set multi select by script to a list box.

    Hi All,
    I have a list box with multiple select on the form with list (Say A,B,C,D,E,F,G ..)
    When I select A,C,E ans say this.RawValue I get A,C,E separated by carrage returns.
    When i submit the form in my Fm I get A#C#E its all fine.
    Now when the form is openend for the 2nd time to update values I get the value as A,C,E separated by carrage return thats fine too.
    Now i need to set these 3 values as selected by default so i had some java script in form ready.
    Where i iterate tru these list match the entries in the dropdown its fine untill here.
    this.setItemState(index,true)
    is the code to set them as selected but when i do only the 1st found is set to selected not the remaining ones.
    Am i doing something wrong here, please let me know with your suggestions.
    below is my script.
    var ddValue =  this.rawValue;
    ddValue = ddValue.replace("#","\n");
    var ddArray = ddValue.split("\n");
    var ddLen = ddArray.length;
    var textValue = "";
    GM_INTAKE_STRUCTURE.sf80.sfItemBuilder.sfHeaderConditions.dlExpenseType.clearItems;
    GM_INTAKE_STRUCTURE.sf80.sfRequestSummary.dlItem.clearItems;
    for(var i = 0;i<ddLen;i++){
         for(var j = 0;j<this.length;j++){
              if(this.getSaveItem(j) == ddArray<i>){
                   this.setItemState(j,true);                
                   GM_INTAKE_STRUCTURE.sf80.sfItemBuilder.sfHeaderConditions.dlExpenseType.addItem(this.items.nodes.item(j).value,this.getSaveItem(j));
    Thanks & Regards,
    Sai

    Hi Sai,
         The replace function is only replacing the first occur of #, not all of them. But you don't even need to replace the # before you do the split, just change your first lines to split directly with the # character. Your code should look as follow:
    var ddValue =  this.rawValue;
    var ddArray = ddValue.split("#");
    var ddLen = ddArray.length;
    var textValue = "";
    GM_INTAKE_STRUCTURE.sf80.sfItemBuilder.sfHeaderConditions.dlExpenseType.clearItems;
    GM_INTAKE_STRUCTURE.sf80.sfRequestSummary.dlItem.clearItems;
    for(var i = 0;i<ddLen;i++){
         for(var j = 0;j<this.length;j++){
              if(this.getSaveItem(j) == ddArray<i>){
                   this.setItemState(j,true);                
    GM_INTAKE_STRUCTURE.sf80.sfItemBuilder.sfHeaderConditions.dlExpenseType.addItem(this.items.nodes.item(j).value,this.getSaveItem(j));
    Best regards, Aldo.
    Any comments and feedback are welcome.

  • How to do multi select for the oracle forms textfields using openscript

    hi
    my scenario is to record  by selecting 3 order number same time and do copy of that in the oracle order management module.
    can anybody help me in to select the 3 order numbers and execute.
    thanks
    sudhiir

    hi Deepu,
    the code you have given is not working.
    Below is the code i have written
    Robot robot = new Robot();
    robot.keyPress(KeyEvent.VK_SHIFT);
    FORMS.TEXTFIELD(ORDER_NUMBER_0).CLICK
    FORMS.TEXTFIELD(ORDER_NUMBER_1).CLICK
    FORMS.TEXTFIELD(ORDER_NUMBER_2).CLICK
    robot.keyRelease(KeyEvent.VK_SHIFT);
    even after adding the above code it is clicking on the each text field instead of selecting all the three text field which is my requirement.
    i think their is some defect in openscript or my code is wrong.
    thanks
    sudhiir

Maybe you are looking for

  • A better way to zoom?

    hi all-- I'd like to zoom in on some detail in my animation/presentation on the stage-- One way I know to do this is by creating a container mc that holds all the contents, then scale that mc up to simulate a zoom-- but then I lose my layers on the i

  • Understanding Camera RAW with JPEGs

    I usually work on the design end, hence I rarely work (professionally) with files straight-from-camera. I get the stuff after the photographers are done with it. However, that is slightly changing and so I have a question about the Camera Raw plugin

  • DVDs aren't mounting!

    I actually can't believe this is happening to me, because before I got my Macbook Pro, when I had an eMac, I went through an experience just like this, where everything was fine for a while, when all of a sudden my drive wouldn't read anything, and i

  • New Desktop Manager 7.0 won't install

    I just upgrade through the DM 6 to 7 but after i did all the installation it can open then i remove it from the control panel  and download from blackberry website but there's an error,it said(ZIP damaged:file C:\User\Jason\AppData\Local\Temp\WZSE0.T

  • USB Cable for Target Mode

    After experiencing video problems, the mother board on my 2002 ibook was replaced by Apple at no cost, but now has failed again. I have read in mac forums it's possible to access the hard drive of my headless ibook by connecting it to my new MacBook