Selection/highlight in a Datagrid

Hi all

I have data in a datagrid control, which refers to a block of time, i.e. 09:00 - 12:00. I was looking for to be the highlight of the datagrid data referring to the present time. As if the time was 11:00 the line in the datagrid control with a time that blocks at 11 included in it has been highlighted. Hope it makes sense. Does anyone have any ideas how to do this.

See you soon
Tookie

I'm sure you can make it cleaner:

Tags: Flex

Similar Questions

  • Keep the selected highlighter

    Hey there,

    I have fun software adobe reader on ipad. I especially need the highlighter tool. whenever I highlighted a part, I select the highlighter again before I can choose the next part. is there a way to keep the selected highlighter?

    Thanks for your help.

    Yes, there is a way... sometimes it is called keep the tools 'sticky'... don't ask me why.

    Select the tool you want to use (but don't use it yet). Control + E, or right-click upward on the toolbar, click & Select 'Display Properties Bar"there should be a box that appears with a check box, select"Keep the selected tool."

    https://acrobatusers.com/tutorials/there-way-keep-tool-sticky

  • How can I control the selection highlighting colors attributed to layers?

    When new layers are created in the layers panel, they are on a default selection highlighting colors. The color for each new layer changes, sequencing with a list of color options. For my personal use, if there is lighting in my office and work, I work with, I find about 75% of the color options to be unusable. In fact, the only definition of color that always works for me is 'Green' (the third option from the top of the list). I work with many layers on each project and I find myself change each layer to Green by hand. Y at - it an option to set the default highlight color for each new layer of a single color rather than go through the list? I looked through all the options that I could find throughout Illustrator without seeing it.

    Create all your layers, select the first layer, hold down the SHIFT key, select the last layer, then double-click to edit all layers to one.

    Or create a template with your layers/names/colors you want and save on a format of model commandeer.

  • How to clear a selected line of the datagrid control in flex 4

    Hi friends,

    I have a datagrid and a button, delete once I've selected a line of datagrid, then click on Remove button medium it should remove the data grid.

    How to do this.please help.

    No matter what welcome suggession

    Thanks in advance,

    Vegas

    Hello

    For that you call the same function on click of a button. This button is outside your datagrid control.

    public void deleteItem(event:MouseEvent):void {}
    dgArrayCollection.removeItemAt (dg.selectedIndex);
    dgArrayCollection.refresh ();
    }

    Thank you and best regards,

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

    Kanchan Ladwani | [email protected] | www.infocepts.com

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

  • Change the selection highlight color

    The default color when a cell or item is selected is a light cyan. On my computer, it is very difficult to discern the text because cyan light highlight color and white text are scrambling. How can I adjust the highlighting/selection color so that the text is readable?

    In fact, the color of the selected item is determined by your operating system. For editing in Windows XP:

    Right-click on your desktop
    Properties
    Appearance tab
    Advanced
    Point of fall down: has chosen "selected items".
    Change the color to what you want

  • Select highlighted at the bottom value

    Hi all

    Does anyone know how to retrieve the value from the list of values of a component of the shuttle, which has been highlighted by the user in the list on the right?

    An example would be, we have the points A and B in the first bucket and C and D in the dumpster back. When a user clicks on C I want to extract its value in any way possible.

    I tried looking for a way to access it via javascript, but not luck.

    Is there an approach to achieve this?

    Thank you
    Pedro

    Hello

    There is no API to access the item highlighted. Are all you have access to the list of selected items (which is what the component is designed for)

    Frank

  • selection highlighting does not

    I use ID CS6. All the sudden today, in the middle of editing text, selected text stopped highlight. It is no doubt selected, but I don't see the highlight. What I got to turn it off, and how I turn it back on?

    This looks like a possible police problem or maybe a sort of coruption in the text frame. If the latter, a journey through .idml might work. See remove minor corruption by exporting

    A more powerful tool which could work would be to export the history text containing the tag InDesign, then re - import. I probably import into a new file rather than doing more work in the existing document.

  • Question of selection with editable Spark DataGrid

    Hello world

    I'm evaluating new Spark DataGrid and I am having a very strange problem with the selection behavior in an editable instance.

    Here is my test application: http://www.playcalliope.com/flex/DataGridSelectionIssue.html (code here: https://gist.github.com/1129160)

    And here are the steps to reproduce the problem:

    1. Select the first cell in the upper left corner of the grid (the one with 'Gabriele');
    2. click it once more, the Editor appears;
    3. now, click on the cell just to the right (the one with "Genta").

    You should see that edition ends as he supposed to do, but the selection is placed on the third cell (the one with a 5 in it) on the one you clicked on. Play a bit with the grid, you will see that this is not the only case, but selection really behaves randomly.

    I use SDK 4.5.1.21328.

    I think that it is a very basic use case... I can't believe that this does not work, what don't get me?

    Thank you very much

    Gabriele Genta

    Message was edited to add the living example

    Your race in a bug known, https://bugs.adobe.com/jira/browse/SDK-30088.

    The bug will be fixed in the Mega version. To work around the bug, you can create a custom editor and delete the "dataGrid.validateNow ()"; call to DataGridEditor.save ().

    Here's how I modified your example to work around the bug:


    http://ns.Adobe.com/MXML/2009.
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx".
    minWidth = "955" = "600" minHeight
    backgroundColor = "#E7E7E7."
    creationComplete = "application1_creationCompleteHandler (event)" > "
       
           
       

       
       
            Import mx.collections.XMLListCollection;
    Import mx.events.FlexEvent;
    protected function application1_creationCompleteHandler(event:FlexEvent):void
    {
    testGrid.dataProvider = new XMLListCollection (testData.item);
    }
    ]]>
       

       
       
           
               
                   
                        1
                        Gabriele
                        Genta
                        5
                        molto
                   

                   
                        10
                        Weill
                        Pallino
                        10
                        poco
                   

               

           

           
           
               
                   
                        Import mx.collections.ICollectionView;
    Import mx.collections.ISort;
                           
    public void save (): Boolean
    {
    If (! validate())

    Returns false;
                               
    newData:Object var = value;
    var property: String = column.dataField;
    Object: data var = data;
    var typeInfo:String = "";
    for each (var variable: XML in describeType (data) .variable)
    {
    If (property == [email protected] ())
    {
    typeInfo = [email protected] ();
    break;
    }
    }
                               
    If (typeInfo is "String")
    {
    If (!) (newData) is String))
    newData = newData.toString ();
    }
    ElseIf (typeInfo == 'As')
    {
    If (!) () newData is uint))
    newData = uint (newData);
    }
    ElseIf (typeInfo == 'int')
    {
    If (!) (newData) is int))
    newData = int (newData);
    }
    ElseIf (typeInfo == "Number")
    {
    If (!) (newData) is number))
    newData = Number (newData);
    }
    ElseIf (typeInfo == "Boolean")
    {
    If (!) (newData) is Boolean))
    {
    var strNewData:String = newData.toString ();
    If (strNewData)
    {
    newData = (strNewData.toLowerCase () == 'true')? true: false;
    }
    }
    }
                               
    If (property & data [property]! == newData)
    {
    If the data is sorted, disable sorting for published data.
    var sort: ISort = null;
    If (dataGrid.dataProvider ICollectionView)
    {
    var dataProvider:ICollectionView = ICollectionView (dataGrid.dataProvider);
    If (dataProvider.sort)
    {
    type = dataProvider.sort;
    dataProvider.sort = null;
    }
    }
                                   
    var oldData:Object = data [well];
    data [property] = newData;
    dataGrid.dataProvider.itemUpdated (data, property, oldData, newData);
                                   
    Restoration of the kind. The data will be not sorted due to this change.
    If (out)
    . Fate ICollectionView (dataGrid.dataProvider) = classification;
    }
                               
    Returns true;
    }
    ]]>
                                   
               
               
           
       
       
       
    Editable = "true" selectionMode = "single-cell".
    itemEditor = "{ClassFactory (MyDefaultEditor) new}" >
           
               
                   
                   
                   
                   
               

           

       

  • Re: changing Selected row color flex2 datagrid

    Hai,

    I'm flex1.5 migration to Flex 2, I need to change the colur of selected row in datagrid I used dg.setpropertiesAt (dg, selectedIndex, "backgroundColor:0xFF000")

    method in flex 1.5 What is the alternative method to change the color of line

    Emissions of the grid of Flex1.5

    Picture0002.png

    Thanks in advance

    You use styles;

    dg.setStyle ('selectionColor', 0xcccccc);

    You can do this in code or by using a style sheet.

    Andrew

  • display a viewstack based on the selected item in a datagrid control

    Hello

    I am bit new to bending even though I have been using CF for a while but could do with what I hope, it's a simple answer to a simple question...

    I have a datagrid that displays a number of columns that a 'typical' I want to be able to display a viewstack child is based on the "type" selected in the data grid. I tried a number of ways that fail, annoyingly.

    the latest incarnation of the code is as follows

    part of script function

    private void dataGridChangeHandler(event:Event):void
    {
    Get the line datagrid selected item
    var Type: String = event.target.selectedIndex;

    Set the index of view stack
    this.pagesStack.id = Type;
    }

    <! - part datagrid - >

    < mx:DataGrid id = "EpisodeDatagrid" selectable = "true" = "true" Exchange draggableColumns = "this.dataGridChangeHandler" variableRowHeight = "true" editable = "false" height = "100%" textAlign = "center" width = "100%" > "
    < mx:columns >
    < mx:DataGridColumn id = "startdate" dataField = "EpisodeStartdate" headerText = "Start Date" labelFunction = "dateLabelFunction" headerWordWrap = "true" / >
    < mx:DataGridColumn id = "enddate" dataField = "EpisodeEnddate" headerText = "End Date" labelFunction = "dateLabelFunction" headerWordWrap = "true" / >
    < mx:DataGridColumn id = dataField 'Type' = "Episodetype" headerText = "Type" headerWordWrap = "true" / >
    < mx:DataGridColumn id = "Status" dataField = "EpisodeStatus" headerText = "Status" headerWordWrap = "true" itemRenderer = "active" / >

    < / mx:columns >

    < / mx:DataGrid >

    <!-Viewstack part->

    < mx:HBox width = '100 percent"height ="100% ">

    < mx:ViewStack id = "pagesStack" width = "555" height = "202" >

    < mx:Canvas id = "DIP" label = "DIP" >
    < mx:Panel x = "10" y = "10" width = "250" height = "200" layout = "absolute" >

    < mx:Label = "19" x = "51" text = "DIP" / >
    < / mx:Panel >
    < / mx:Canvas >

    < mx:Canvas id = "ERASER" label = "ERASER" width = "100 percent" height = "100%" >
    < mx:Label = "19" x = "51" text = "ERASER" / >
    < / mx:Canvas >

    < / mx:ViewStack >

    < / mx:HBox >

    help would be very appreciated (code example would be more appreciated :)

    
    
         
              
         
         
         
              
                   
              
              
                   
              
              
                   
              
         
    
    
    
  • Line selection/highlight / copy of af: table with rowselection in IE

    I have a table with a row selection listener to drill as much information on this line. In order for that to work, I need to set the rowselection attribute. However, when that is defined, in IE8, users are not able to select or highlight any text in the array to copy and paste this information. It works fine in Firefox.
    Has anyone encountered this problem or found a resolution for it?
    Thank you
    A

    Hello

    I have also faced similar problem and overcame by using with readonly true instead of outputText

    Mohan

  • Change the default selection highlight color

    Hi all

    Is it possible to change the color of the default selection (virg) of another color?

    Thank you

    Sandeep

    Hello

    You cannot change the selection color.

    This selection is the same on emulators IE blue but on the device, he can distinguishes itself from pink to blue, plu yellow I guess it depends on the theme

    Located on the phone.

    You can do a thing, you can override this component paint individual and change the accent color.

    Maybe this will help you.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=12904&query.ID=99...

  • Dreamweaver auto selects / highlights blocks

    Every time I work in Code view and click on a line in the script to start typing, Dreamweaver automatically selects all of the script block and I have either double-click the block to release, or if it does not work I double click on the button to "surround with tags. He also makes this whenever I click on another tab of document. It seems that something, I should be able to turn off, but I couldn't find the setting.

    Any ideas?

    I can't say that I have experienced this problem myself, but you can try the following troubleshooting tip:

    If Dreamweaver is behaving in a strange way, this often means that you have a corrupted personal configuration file.

    Close Dreamweaver, search the personal configuration file and rename it.

    When you restart Dreamweaver, it should create a new folder of configuration with all the default values of program.

    For more information on how to find the configuration file, see the following in the Dreamweaver FAQ page.

    --

    Nadia

    Adobe Community Expert: Dreamweaver

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

    Unique templates CSS | Tutorials | SEO articles

    http://www.DreamweaverResources.com

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

    Web Design & development

    http://www.perrelink.com.au

    http://Twitter.com/nadiap

  • How to get the element highlight DataGrid?

    Hello everyone...

    I've already looked in a lot of sites and forums, and I can't find anything...

    I need to get data on the element (not selected) highlighted on my DataGrid (I intend to use the MouseOver event)...

    does anyone have an idea on how to do it?

    PS Sorry for the grammar errors... my English is not very good...

    Hello

    Add an event listener for the itemRollOver event of the datagrid to get the index of the item highlighted.

    
    
    protected function dataGrid_itemRollOverHandler(event:ListEvent):void
    {
         var item:Object = dataGrid.dataProvider[event.rowIndex];
    }
    
  • How to select text and be able to change the font without the text highlight color effect reverse?

    I remember being able to select the text with a certain shortcut would not show that it is actually highlighted, but it actually so, essentially the same function as selecting / highlighting just without the Visual indicator that it is highlighted / selected.

    You can change the font by selecting just different fonts in the menu drop-down of the character Panel. It will change the police without selecting text and giving you a reverse color effect.

Maybe you are looking for

  • How can I block the annoying social media tabs that open web pages on the left side. they totally block what I'm trying to read. I have more ad block

    I have ad block more with the help of masking extension element. Yet these annoying social media tabs always opens on the left side of many pages. What makes the small available playback area. I don't want that on my screen, any body know howI apprec

  • Qosmio F20-137: connection to Hi Fi

    I have attached my Hi Fi laptop using the headphone jack (headphone to phono cable) and the sound is pretty poor. Y at - it another way to to get a better result or will I have to buy Toshiba's own surround speakers to get a decent sound?

  • Impossible to update 2.6 to 5.7

    I have OS 10.5.8. 5.7 downloads Skype, but after step in order to replace the existing/Yes, I get the message that the installation cannot complete because there is not sufficient privileges for some components. Unfortunately Skype runs is more than

  • Error with DAQmx 200220

    I try to use a device with NOR-DAQmx, NI USB-6210.  My request is: Error-200220 occurred at .vi:1 DAQmx create channel (frequency impulse generation Co) Possible reasons: Device identifier is invalid. Specified device: Dev2 Task name: _unnamedTask Ho

  • Switching UCS issues

    I'm a little worried as to why oversubscription of 2:1 is the best possible between the servers and the fabric extensions (for example, 8 x 10 G of the impeller, with 4 x 10 G uplink Ports interfaces).  If there is no QoS it (b/c there is no switchin