How to do a few lines not selectable in AdvancedDataGrid

Hello

I have an advanced data grid that allows you to select several lines. I need to make some unselectable lines depending on the row data. How is that possible?

Help is greatly appreciated. Thanks in advance.

-Charmaine

Hi, you can view the same demo here

Thank you and best regards,

---------------------------------------------------------------------------------------

Pallavi Joshi | [email protected] | www.infocepts.com

----------------------------------------------------------------------------------------

Tags: Flex

Similar Questions

  • How to highlight in straight lines, not pen

    Hello. How can I reset my Adobe reader to highlight in straight lines and no stylus?

    Thank you

    When you place the highlighter tool it will switch to text selection mode (IE, straight lines), but when you place the mouse over another content type it switches back on mode "Feather".

  • How do I see the lines not loaded by interface errors

    Hello, I have a simple interface, I'm loading of data within the same oracle database from one scheme to another scheme.
    But I see less 3 rows.
    Can some body please advice how to see lines that are not loaded, which justified etc..

    Thank you

    Hello

    You can also see in the ODI opening model--> right click on your target--> Check--> error data store...
    It shows you the E table $ table _ for this specific data store. For each rejected row, you can see all of the columns more the reason for the rejection.

    It will be useful,

    Jerome en

  • How to insert a few lines of the user interface and some of the system during the click on the Add button

    Hi Experts ADF,

    I have an Add button and a table.

    My requirement is when the user clicks the Add button then the table below should show a new line. And some of the values I'm inserting into the method doDML with operation == DML_INSERT.

    I tried the steps below: -.

    (a) the primary key attribute is based on an expression groovy (with a sequence).

    (b) Add button is linked to the operation of CreateInsert.

    doDML c method) @Overridden in EOImpl, java. And some of the values I'm inserting into the method doDML with operation == DML_INSERT.

    (d) when I click Save I get error. So please let me know if any changes I need to do.

    Thank you

    Animesh

    Or if you want to insert data on the operation of createInsert then simply replace the create method in EOImpl

    Ashish

  • How to manage the current line with radio button selection?

    Hello world

    I have an ADF page with a table and a search"" button.
    I created a new attribute with VARCHAR2 (1) in the VO and dragged this attribute as the first column of the table. And changed this first column of the option button to select only a single line at a time.
    By clicking on the "Search" button, I need to get the current selected row values.

    How can I get the values of selected line?
    What code should I write to get the values of the selected line in the method of binding the button 'search '?

    All suggestions will be really useful.

    Thank you.

    Hello Kumar,
    I have a few comments on your case.
    >
    I created a new attribute with VARCHAR2 (1) in the t
    >
    1. you should create this attribute in the object of the entity, and then add it to the view object.
    2-do you need this radio that a button is defined for all lines? If yes then you need handle the case where the user set several lines and clear the value of the attribute for all other lines.

    >
    How can I get all the values of the current row in backing bean, binding of the Find method (method)?
    can u please give me the code for this?
    >
    If you mean by the current row is the row for which the value of the selected attribute is defined (the radio button is set to the rank), then you can write a method in the viewObjectImpl class and expose it to the customer interface and call it from your bean.
    Here is a sample Department table in the HR schema.

    //This method is written in DepartmentsViewImpl
    public Row getSelectedRadioRow(){
                //create a second row set to not impact the row set used in ADF
                RowSet duplicateRowSet = this.createRowSet("duplicateRowSet");
                //get the current row of the table to set it back after re-executing the VO
                DepartmentsViewRowImpl currentRow = (DepartmentsViewRowImpl)this.getCurrentRow();
                Row[] filteredRows = duplicateRowSet.getFilteredRows("IsSelected", "1");
                DepartmentsViewRowImpl row=null;
                if(filteredRows.length>0){
                    row = (DepartmentsViewRowImpl)filteredRows[0];
                    System.out.println("Department Name " + row.getDepartmentName());
                     }
                this.setCurrentRow(currentRow);
                duplicateRowSet.closeRowSet();
                return row;
            }
    
  • Keep not selected (\) line Segment tool

    Hello, I use the latest version of Adobe Illustrator CC and can not start a new line with the line of a previous line segment tool.

    If I start again from one edge of the line point, move from my line from the line is still selected.

    In the previous version of Illustrator od the line was comic and disabled instantly what was allowing me to continue to draw the line on the edges of the first.

    Line Segment tool does not include the option 'Keep selected' as the pen or the brush so I can't enable or disable.

    someone has an answer how I could get this line automatically disabled after drawing it?

    Thank you

    If you choose: display > bounding box (Cmd Shift B (Mac) or Ctrl Shift B (Win)), you can continue shooting without moving the line just created.

  • How can I tell weather or not each checkbox is selected in a < mx:AdvancedDataGridColumn

    Hello

    I have a column that contains a checkbox

    < mx:AdvancedDataGridColumn width = "30" headerText = "" showDataTips = "true" editable = "false" dataField = "Remove" > "

    < mx:itemRenderer >
    < mx:Component >
    < mx:HBox width = "100%" verticalAlign = "middle" paddingBottom, paddingTop = "0" = "0" horizontalAlign = "center" height = "100%" >
    < mx:CheckBox >
    < mx:click >
    <! [CDATA]
    []] >
    < / mx:click >
    < / mx:CheckBox >

    < / mx:HBox >
    < / mx:Component >
    < / mx:itemRenderer >

    < / mx:AdvancedDataGridColumn >

    How can I tell weather or not each checkbox is enabled?

    Thank you very much

    I mean that the value of certain States must be stored somewhere in the datagrid?

    Actually no, datagrid have no idea what the State of the model, since you can assign * any * class point of converter, you must maintain your model manually. You can't relay on datagrid internal guts because he follows model itemRenderer - some Visual converters to display all rows. The only source that you can trust is dataProvider or your collection of data in the grid from the outside.

    A general scenario for your usecase would store check boxes of the States within the dataProvider items as some say "checked/selected" property
    and elements enum to discover the current status of checkboxes.

  • How to return to the line. Try using Firefox this AM. All I get is an error message "could not load the XPCOM.

    PC is several years old running Windows XP, but was working OK yesterday. This morning could not get Firefox at startup, only the error message "cannot load the XPCOM.

    Do a clean reinstall, delete the program folder before Firefox to (re) install a new copy of the current version of Firefox.

    Download a new copy of Firefox and save the file to the desktop.

    https://www.Mozilla.org/en-us/Firefox/new/

    Uninstall your current version of Firefox, for cleaning of the Windows registry and the settings in the security software.

       DO NOT  remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you lose personal data like bookmarks and passwords from profiles of other Firefox versions.
    
       It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
       http://kb.mozillazine.org/Uninstalling_Firefox
    

    Your bookmarks and other personal data are stored in the Firefox profile folder and will not be affected by a uninstall and (re) install, but make sure that 'delete personal data' is NOT selected when you uninstall Firefox.

    If you keep problems also create a new profile.

  • When I opened a new tab navigation bar is not selected. How can I fix?

    I looked at other issues, but I couldn't find a solution for this. When I opened a new tab, the navigation/URL bar is not selected, and I can't just type to search or enter a URL. I have to move my mouse and select it. This is quite annoying because I use Firefox for years and he was always selected by default. Also, I have problems with my default browser. It seems to have opted for Google, Yahoo, and I could not change it back. (I'll post another question for this shortly after searching the answer more).

    Thanks for the help in advance.

    Hello
    You can check if this problem appears when you start firefox in safe mode, questions to troubleshoot Firefox in Safe Mode if everything works properly in safe mode which means that the problem occurred due to some extensions or themes.
    You can try to reset Firefox Firefox Refresh - reset the settings and Add-ons but be sure to reset firefox will remove your extensions and themes, preferences of site specific, search engines, download history, DOM Storage, security settings, download actions, configuration of the plugin, toolbar customizations, user and social features styles

  • How can I stop the transfer of emails for those who are not selected

    I don't know if my hotmail works properly... cause it sends e-mails to people who are not selected for?

    Mary

    Hello

    As you use Hotmail and Hotmail-related question you have posted. I suggest that you post you query on the Hotmail forum for assistance:

    http://windowslivehelp.com/product.aspx?ProductID=1

  • How to set a certain layer is selected or not?

    If you click outside the open document, and then on board the unidentified layers which layer is active, some are blocked by filters, but in the properties of the active layer of a document. In his instrument, I also want to block some controls if you explicitly choose one of the layers (not selected in the layers panel)

    This will give you a list of the selected layers, the table will be nil if no layers are selected.

    var selectedLayer =  getSelectedLayersIdx();
    if(!selectedLayer.length) alert("no layers selected");
    
    function getSelectedLayersIdx(){
          var selectedLayers = new Array;
          var ref = new ActionReference();
          ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
          var desc = executeActionGet(ref);
          if( desc.hasKey( stringIDToTypeID( 'targetLayers' ) ) ){
             desc = desc.getList( stringIDToTypeID( 'targetLayers' ));
              var c = desc.count
              var selectedLayers = new Array();
              for(var i=0;i		   
  • How can I default first line below the selected line in the table of the adf

    Hello

    I use Jdeveloper 11 g,
    I created Adf quick query with table and changed selectionListener table as #{CustRMMap.onRMGroupNameChange}.
    and when I click on find fast query no row is selected.
    I want the first row to be selected / highlighted by default when I click search.

    Patel Imran

    You can also set an attributeValue in pagedef.xml
    bind this attributeValue with column of your table. This sets the value of the selected line to the variable attruibute.
    Will now link this with your desired component attributeValue.
    Put partial trigger on the component that should display this value.
    This will save you to write custom code and use the default table selection listener property, which marks the first default line.

    Apart from this, if you want to govern the first default line of managed bean selection use this code...

    + _Table = selectionEvent.getSource ((richeTableau)) richeTableau; + *
    + / / the model in the Collection is the object that provides the structured data.
    + / / for rendering table +.
    + TableModel CollectionModel = table.getValue ((CollectionModel)); + *
    + / / the ADF object that implements the CollectionModel is JUCtrlHierBinding. IT +.
    + / /is wrapped by the CollectionModel API.
    + JUCtrlHierBinding adfTableBinding = tableModel.getWrappedData ((JUCtrlHierBinding)); + *
    + / / Acess the iterator ADF, binding that is used with the binding table ADF +.
    + DCIteratorBinding tableIteratorBinding = adfTableBinding.getDCIteratorBinding (); + *

    + / / the role of this method is to synchronize the table feature selection +.
    + / / with the selection of the model of the ADF +.
    + Object selectedRowData = table.getSelectedRowData (); + *
    + / / cast of JUCtrlHierNodeBinding, which is the subject of the ADF that is +.
    + / line/a +.
    + JUCtrlHierNodeBinding nodeBinding = selectedRowData (JUCtrlHierNodeBinding); + *
    + / / get the key of the node binding line and set it as the current line in the +.
    + / / iterator +.
    + Key rwKey = nodeBinding.getRowKey (); + *
    tableIteratorBinding.setCurrentRowWithKey (rwKey.toStringFormat (true)); + *

    and another way on the right is a custom like this code:

    + public void setDefaultRow (int count) {/ / call this method your method of selection custom, rom pass the line of the line to select index. count = 0, will select first row + *}

    + try {+ *}
    Object oldRowKey = tblMag.getRowKey (); *
    + try {+ *}
    This.

    .getSelectedRowKeys () .clear ();
    *
    * +} catch (System.Exception e) {+ *}
    System.out.println (e.getMessage ()); *
    +}+
    This..setRowIndex (count);
    *
    RKS RowKeySet =. getSelectedRowKeys();
    *
    (RKS). Add(. getRowKey());
    *
    RKS =. getSelectedRowKeys();
    *
    +.setRowKey (oldRowKey); +

    * +} catch (System.Exception e) {+ *}
    System.out.println ("error:" e.getMessage ()); + *
    +}+
    +}+

    Hope this helps

    Concerning
    Maryline Roussel

  • Do not select background in FCPX for the title of motion

    I created a Motion 5 title and published all the settings for the properties, and the form of a 50% opacity rounded rectangle background. I can't select text in FCPX, but I can't select the background of the rounded rectangle. I did a generator of the same thing and impossible to select the background that helps in FCPX either. How should I do the text and the background selectable in FCPX?

    I'm slow to grasp the concepts of the video, am brand-new to the use of FCPX and have used only Motion for a few months for limited purposes, so it is very likely, that miss me something quite obvious.

    'select' the rectangle? To apply adjustments such as color, roundness?

    Or you want to move your custom title?

    If so, I would like to...:

    .. Put the text and rectangle in a group and issue groups X / there postions...

    So, when you change your contact information in FCPX, both, the bubble and the text pass.

    I FINALLY how: apply a nice OnScreenControl and not x / y numbers:

    .. to drag the title with the mouse...

  • I get a message saying "you have exceeded your profile storage space. Yet all the files listed th are actually my docs and application data. How to delete my profile, but not from my pc? increase the max profile size

    I get a message saying "you have exceeded your profile storage space. Yet all the files listed th are actually my docs and application data. How to delete my profile, but not from my pc? increase the max profile size

    1. the first thing to do is to make sure that the computer is completely virus/malware-free. Googling around this error produced quite a few links where the posters were or had been infected with Spyware Protect 2009 rogue.

    http://www.elephantboycomputers.com/page2.html#Removing_Malware

    Once the scanning is complete (do not skip the preparatory stages no more), if the problem persists:

    2. double-click on my computer, right-click the icon for your hard drive, click left to get its properties. If you see options to set Quota management make sure that they are disabled.

    3. in the case - BUT ONLY AFTER YOU ARE sure THAT THE MACHINE IS MALWARE/VIRUS-FREE - copy the lines between asterisks (not including the asterisks) below and paste it into Notepad. Save as undopolicy.reg somewhere, you will find. And then double-click the .reg file, that you have just made to melt in your registry. I hope that this will take care of the issue.

    *****
    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    'EnableProfileQuota ' = -.
    'ProfileQuotaMessage ' = -.
    "MaxProfileSize" = -.
    'IncludeRegInProQuota ' = -.
    'WarnUser ' = -.
    'WarnUserTimeout ' = -.
    *****

    MS - MVP - Elephant Boy computers - don't panic!

  • How can I copy a line or paragraph of text in an email to a Works document

    I need to copy multiple lines of text of the email (AOL) in my WORKS documents. -NOT the entire email, only a few lines.

    Hello

    Here's the right information on how to copy and paste:

    «How to copy, cut and paste in Windows»

    http://www.bleepingcomputer.com/tutorials/cut-copy-and-paste-in-Windows/

    See you soon.

Maybe you are looking for

  • new iphone "Please upgrade to ios Update 9 beta.

    I bought my 1st iPhone on eBay, iPhone 5.  It works very well, but continues to appear a message "a new update of IOS is now available. Please update to IOS 9 beta. He traveled the configuration normally (from Hello to creating an apple ID).  I don't

  • Dell Vostro 200 does not start after installing the SP2 for Windows Vista Business

    I have to keep which dates back to the system restore to get my computer on the road.  Whenever the update is installed I don't get past the first Screen Microsoft with the arrows.  Now, my computer is very slow and I have not been able to install SP

  • Not able to view library in Photoshop after upgrade

    In my Photoshop suddenly disappeared asset Library (window / library - okno / knihovna) after upgrade. You advise me? Where?RB

  • How to fix AppHangB1 (can't open LR)?

    HelloI use LR6.0.0.10 under Windows 7.It was running FINE until YESTERDAY.It crashed while I was importing images.Since then, I can't even open LR (it only shows the opening page with the name of the developers and hang it).Windows is not able to sol

  • Photoshop Elements for Mac 13

    I have an old version of Photoshop Elements (8) for Mac. I installed this version 8 on an iMac and a Macbook.Can I also install version 13 (version 1 of the license) to use it on my iMac and Macbook and substitute?