DataGrid Horizontal Scroll Problem when datagrid contains Item renderer

I have datagrid with horizontal scroll policy enabled. Grid
contains some item renderer also.One of the item renderer is
datefield when i select a date from the datefield and say the
adjacent cell of the grid also contain datefield itemrenderer
and i am selecting date from that itemrenderer also.When i
scroll horizontally the date in the itemrender changes to any one
of the two itemrenderer.Some time it works fine.I am getting the
issue for combobox itemrender also.Can any one help me to solve
this issue.

"happybrowndog" <[email protected]> wrote in
message
news:ge11ag$jdo$[email protected]..
>
quote:
Originally posted by:
ravi_bharathii
> I have datagrid with horizontal scroll policy enabled.
Grid contains some
> item
> renderer also.One of the item renderer is datefield when
i select a date
> from
> the datefield and say the adjacent cell of the grid also
contain datefield
> itemrenderer
> and i am selecting date from that itemrenderer also.When
i scroll
> horizontally
> the date in the itemrender changes to any one of the two
itemrenderer.Some
> time
> it works fine.I am getting the issue for combobox
itemrender also.Can any
> one
> help me to solve this issue.
>
> Ravi, I am having a similar problem. I subclass a
TextInput as an
> itemrenderer for a column in a datagrid. My subclassed
TextInput checks
> to see
> the value in the overriden set() method, and depending
on the value, sets
> the
> background color of the TextInput to green. When the
datagrid scrolls
> horizontally, some unrelated cell colors also change
green and some of the
> data
> gets duplicated in the cells. The underlying data
provider's data is not
> confused however. Seems the rendering is screwed up when
the Datagrid
> scrolls.
>
> Did you find a solution to this problem? I think
Datagrid is a piece of
> screwed up code.
http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf
Q2

Similar Messages

  • Datagrid scrolling problem when different items are in the same column

    I have a datagrid which I am populating with different items (LinkButtons, Images, Labels). However when there are different types of items in the same column and when i try to scroll everything gets messed up (Images get overlapped with each other or the labels get overlapped with images).
    I am overloading the "IDropInListItemRenderer" to create different types of items in each cell and I am overloding the "updateDisplayList" function
    Any ideas as to why the items get messed up during scrolling? Is there some other preperty of IDropInListItemRenderer that should be overloaded?

    Hi Subeesh Arakkan,
    Thanks. This is the exact problem that I have. Althought my overloaded functions are a little different and Im trying to resolve it. But htis is a good lead.
    Thanks,
    Prashanth

  • Datagrid Itemrenderer scrolling problem

    Hi,
    I have a datagrid bound to an ArrayCollection. For one column
    I have a custom item renderer - which is a textbox.
    It works OK except when you scroll the rows and values get
    jumbled up randomly.
    I'd be grateful if anyone has any ideas.
    Thanks,
    dan

    Hi Keytree,
    Many thanks for the explanation.
    However i still can't get it to work.
    Please find the codes below and please check and advise if
    i've missed something.
    thx and regards
    Benoit
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    horizontalAlign="center">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    // Define a property for returning the new value to the
    cell.
    public var result:String="";
    [Bindable]
    private var dp: Array = [
    {label:"None",data:1},
    {label:"Amt", data:2},
    {label:"%", data:3}
    public var retObj:Object;
    public static var test:Number=0;
    // Override the set method for the data property.
    override public function set data(value:Object):void
    test++;
    retObj=value;
    //Alert.show(new String(test));
    super.data = value;
    if (value != null)
    var currentValue:String = value.size;
    var len:int = dp.length;
    for (var i:int = 0; i < len; i++)
    if (dp
    .data == currentValue)
    editor.selectedIndex = i;
    break;
    override public function get data():Object
    return retObj;
    public function onChange():void
    //what need to be set here??
    ]]>
    </mx:Script>
    <mx:ComboBox id="editor" dataProvider="{dp}" width="130"
    change="onChange()"/>
    </mx:VBox>

  • Spark datagrid - Horizontal scroll won't work

    I have been unabled to get my full datagrid to scroll on a mobile device. I know they are not optimized for mobile but everything else seems to work ok.
    I have the scroll setting enabled: horizontalScrollPolicy="on"
    This still does not enable my grid to scroll even through the data is there and I can statically set the position and see the different position on the grid.
    The title bar scrolls then snaps back when I take my finger off the screen.
    Any suggestions?

    think many programs in windows support you clicking just beside the scroll arrow and drag out a split
    at least visual studio does that
    test with other apps to narrow it down to if it's excel causing it

  • Datagrid, Horizontal Scroll

    Hello all.
    Im sure this is a simple fix, but after searching google for a fair amount of time, thought i would post up here.
    I have a simple datagrid using the following code -
                             <mx:DataGrid id="chatDG" width="100%" height="143" x="0" y="0" fontSize="10" horizontalScrollPolicy="on">
                                  <mx:columns>
                                      <mx:DataGridColumn headerText="Question" dataField="message"/>
                                  </mx:columns>
                              </mx:DataGrid>
    This is displaying strings of text taken from a mysql database using a php script.  It works fine, each message is on a new line, everything is perfect.  Apart from if a message is too long it runs off the right side of the datagrid.
    There is a horizontal scroll bar displayed but it is disabled / greyed out.  THe datagrid only has one column, i need to be able to scroll ffrom right to left in order to read the full string of text, any suggestions?
    Thanks in advance

    try
    <mx:DataGridColumn id="dgc" wordWrap="true" />
    you should be able to read everything now.
    if it doesn't work, set also the <mx:DataGrid horizontalScrollPolicy="off"/>. it will work.
    Thanks,
    Sathish.

  • Horizontal Scroll Problem in Rendering in After Effects

    I am having a 30 minute video in which i need to ADD a horizontal scroll till video end, I made a JPG file of 6000px width and 40px height. Place it in a comp with horizontal scroll effect with -70 speed and adding this code in tile centre expression.
    offset = effect("Autoscroll - horizontal")("Speed (pixels/second)") * (time-inPoint) * (100/scale[0]);
    reset=thisLayer.width*10; //reset after 100 times the width has been scrolled
    [(thisLayer.width/2 + offset)%reset, thisLayer.height/2]
    Now when i check it in Ram preview it works fine but when i render it via AME then it stopped somehwere like
    8.20 minute - 13 minute
    19.52 minute - 22 minutes
    between this time scroll doesn't work. Please help me how to solve this problem, It's really urgent for me I need to complete a project.

    I'm not sure what is going on but a better workflow may be to create the scroll as a separate AE comp by pre-composing it, then render and replace in your comp or add the scroll in Premiere Pro and render your deliverable from there.
    It looks like you want the scroll to repeat. The repeat may be where the problem lies. Another approach would be to have your scroll move once, trim the layer to the end of the scroll, Pre-compose trimming the pre-comp to the length of the layer, and then either loop the pre-comp in your main comp using time-remapping and loopOut("cycle") in time remapping, or render and replace the pre-comp and loop the footage indefinitely in Footage Interpretation.
    I tend to to simple title scrolls on Premiere Pro because it's so easy if it's just text and it renders a lot faster than from AE.

  • HP 5-button mouse comfort BR376AA - Driver & Horizontal scroll problem

    Hi all,
    I have a problem with HP 5-button mouse comfort BR376AA. Operating System Windows XP SP3 32bit
    I installed driver 
    Released: 2011-06-29 File name Release_WW_Setup.exe [1/1, 28.25M]
    from http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=DA-89892-1&cc=us&dlc=en&lc=en&...
    But in HP Mouse control center-> menu Buttons, text box Connected Device is message: No mouse has been detected
    In Control Panel, Device manager, Mice is HID-compliant mouse only, no HP mouse
    Horizontal scroll does not work.
    I didn´t find any alternative driver.
    Could anyone help me please?
    Thanks

    @Jara1 
    Thank you for using HP support forum. I have sent you a private message. If you’re unsure how to check your private messages please click here.
    Thank you,
    Omar
    I Work for HP

  • Horizontal Scroll unavailable when Left Sidebar region present

    Hi,
    I have created a classic report in Apex 4.0 which has so many columns (end user requirement) that one has to horizonatal scroll to review the whole of the report content fields returned.
    This is fine...
    Up until the point that I implement a sidebar region to the page, which contains within it a pull-down navigation list region.
    At this point, I can no longer perform a horizontal scroll, and thus the report is visibly truncated to the first X fields that will fit within the browser standard pane.
    Is there some way that I can resolve this?
    Best regards,
    - Tony.

    Hi,
    I have now managed to resolve this, and the "look" is somewhat better.
    The solution I have adopted is to place a html div style in the report region's header and footer to limit the overall size.
    This has limited the overall length/width of the report so users can up/down/left/right scroll through the result set on the one screen view area.
    Users tend to like the whole of the report presented at once, instead of any pagination, so this works a treat.
    T.

  • Problems regarding a cutoms item renderer

    Hello,
    I have created a custom item renderer whcih contains two labels and a button. this list is populated on a sertain event. but this list behaves very weird when the triggering event is triggered second time and so on.
    What happens is the content set to labels labelFuntion are chaned or changes their place if I set them dynamically. And they do not change even if I want to when they are placed statically. I am attaching my code  herewith
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    left="5"  autoDrawBackground="false"  creationComplete="_initializeHandler(event)"
                    fontSize="12" fontWeight="bold" resize="itemrenderer1_resizeHandler()"
                    width="100%"  cachePolicy="on">
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.events.FlexEvent;
                import mx.events.ResizeEvent;
                import mx.managers.PopUpManager;
                import skins._alert;
                import skins.creoCustomButtons;
                import skins.logoutConf;
                import spark.components.CheckBox;
                import spark.events.PopUpEvent;
                private var but:Button;
                private var a:_alert;
                public var timer2:Timer;
                import spark.components.Button;
                private var cb:CheckBox;
                private var confirmation:logoutConf;
                private var tempo:String;
                public static var _temp_array:Array = new Array();
                import skins.radioButtonList;
                public var _billingCycle:radioButtonList;
                public var subOptions:ArrayCollection;
                [Bindable]public var initiator:int = 0;
                public static var config_data_Temp:ArrayCollection = new ArrayCollection();
                public static var counter:int = new int();
                public function confirmAction(event:MouseEvent):void{
                    //    config_data_Temp.removeItemAt(data.subOptions[this.data].name);
                    subOptions = new ArrayCollection(data.subOptions);
                    _billingCycle = new radioButtonList;
                    _billingCycle.dataProvider = subOptions;
                    _billingCycle.labelField = "name";
                    _billingCycle.width = stage.width;
                    _billingCycle.height = stage.height ;
                    _billingCycle.addEventListener(PopUpEvent.CLOSE, selectedValue);
                    _billingCycle.open(this,true);
                public function selectedValue(event:PopUpEvent):void{
                    if(event.commit){
                        var selectedItems:Vector.<Object> = event.data as Vector.<Object>
                        for(var i:int = 0; i<GlobalData.configurations_data.length; i++){
                            var tempo:String = GlobalData.configurations_data.getItemAt(i,0).toString();
                            //if(config_data_Temp[i]==this.name)
                            if(tempo==btn.label.toString())
                                GlobalData.configurations_data.removeItemAt(i);
                                GlobalData.configurations_data.addItemAt(selectedItems[0].name, i);
                                _price.text = GlobalData.configurations_data[i].price;   
                        type.text = selectedItems[0].name;
                        btn.label = selectedItems[0].name;
                        //GlobalData.configurations_data = null;
                        //GlobalData.configurations_data = config_data_Temp;
                private function processRequest(event:PopUpEvent):void{
                    if(event.commit)
                        _temp_array.push(data.domain_name+data.tldname);
                        GlobalData.domain_name_data = _temp_array;
                        a = new _alert();
                        a.title = "Request Status";
                        a.message = "Your request is successfully processed.\n Check you email account for details";
                        a.open(this.parent, true);
                        PopUpManager.centerPopUp(a);
                        timer2 = new Timer(2000, 1);
                        timer2.addEventListener(TimerEvent.TIMER_COMPLETE,timerComplete2);
                        timer2.start();
                Timer coplete event closing the current displayed popup
                text="{data.subOptions[0].optFees}"
                label="{data.subOptions[0].name}"
                public function  timerComplete2(event:TimerEvent):void
                    a.close()
                public function itemrenderer1_resizeHandler():void{
                    if(but){
                        but.x = (this.parent.width-but.width)-10;
                    if(confirmation)
                        PopUpManager.centerPopUp(confirmation);
                    if(a)
                        PopUpManager.centerPopUp(a);
                public var myButon:Button;
                protected function _initializeHandler(event:FlexEvent):void
                    btn.label = data.subOption[0].name;
            ]]>
        </fx:Script>
        <s:HGroup height="30" width="100%" verticalAlign="middle" gap="0">
            <s:Label width="30%" text="{data.name}"
                     fontSize="10" fontWeight="normal" id="type"/>
            <s:Label  id ="_price" width="10%"
                     fontSize="10" fontWeight="normal"/>
            <s:Button  fontSize="12" fontWeight="normal"
                      skinClass="skins.creoCustomButtons" chromeColor="#ffffff"
                      click="confirmAction(event)" width="60%"  id="btn"/>
        </s:HGroup>
    </s:ItemRenderer>
    NOTE: [ Please ignore comments and import statements ]
    The button pops up a radio button list. After an item is clicked the selected text should be placed on button permenantly, which is not happening in current scenario.
    Any kind of help is appreciated! 

    Hi Karthik
             to where u are dragging this record from grid...? the second component also ready to accept the same type of records when u drag form grid to second component.. that is the scenario..

  • Problem when creating Limit Item in shopping cart

    Hi SRM Gurus,
    Need your help.
    When I am creating the blaknket shopping cart using the Functionality "Create Limit Item", system is throwing the Error BBP_PD 002 ( "Interface data contais errors").
    In debug mode for the BADI BBP_DOC_CHANGE_BADI(method BBP_SC_CHANGE),I have checked that the ITEM Type for this Limit Order is "LIMI".
    Even all the basic data, cost assignment are not coming properly.
    So please help regarding this issue.
    Thanks for your help in advance.
    Thanks
    Shraman

    Hi SRM Gurus,
    Now the Limit Order SC has been created successfully in SRM and the PO is also getting populated in ECC too.
    But the problem is like,
    When we create Limit Order(blanket) Shopping cart, then there has 2 options to do that.
    (Under Follow-Up Action)
    1. Confirmation and invoice
    2. Invoice Only.
    Depending on the above in ECC, the Item category for the PO will be D(Confirmation and Invoice only)and B (Invoice Only).
    But for my case it's always showing Item Category D in both of the cases.So as because of this issue, some thing is going wrong from ECC perspective.
    So please help me out from this problem.
    Thnaks for your help in advance.
    Full points for the answer.
    Thanks again,
    Shraman
    Edited by: shraman saha on Aug 29, 2008 10:48 AM

  • How to get a horizontal scroll bar when viewed in devices of lesser screen size?

    I've made a website in DW and its perfect in desktop , but when i check the site on mobile device it is not as expected. The site remains in tablet view and the text , images are not being arranged as needed. I'd be grateful if anyone could help me with this . .

    I've made a website in DW and its perfect in desktop , but when i check the site on mobile device it is not as expected.
    Did you build it to be responsive in Mobile, Tablet and Desktops?
    If you built it responsively, no horizontal scrollbars should be required since the page layout adjusts to viewport width.
    If you built your layout with fixed widths in pixels, it isn't responsive and thus won't display nicely on smaller devices.
    For better answers, we need to see your site.
    Nancy O.

  • Bind variable problem when renaming page items?

    APEX 2.1 on IE6.
    I'm having trouble with bind variables. I cannot reproduce this regularly, but I notice it from time to time. Basically, certain page items will simply refuse to hold their contents, even though the debug output says :
    0.03: Saving g_arg_names=P9_XYLOPHONE_XYLOPHONE and g_arg_values=hello
    0.03: ...Session State: Save "P9_XYLOPHONE_XYLOPHONE" - saving same value: "hello"
    Whenever I reference the variable (using :, V(), NV(), or &.) I get NULL. None of the output indicates that it was changed elsewhere. I've noticed that changing the name of page item influences this. Shorted names tend to cause fewer problems.
    I can't be more specific, as I can't figure out the pattern. Has anyone else noticed this?
    Cheers.

    hi dccase
    couldnt get what the documentation says with APP_SESSION to work.
    http://aae18331:8089/apex/f?p=102:3:$APP_SESSION.::3:MY_ITEM:315
    However the following which i guess assumes the default session worked
    =====================================================
    http://aae18331:8089/apex/f?p=102:3::::3:MY_ITEM:315
    cheers
    shaunak

  • Problem when Copy PO item with customer fields

    Hi all,
    I've added few customer fields to PO item customer screen via enhancement MM06E005.
    All works well besides item copy functionality - the system creates new PO item and copies everything besides my 2 customer fields.
    Any idea why + how 2 solve ? Is it working via BADI ME_GUI_PO_CUST ?
    Thanks in advance,
    Sagit

    Hi,
    1)Check whether you have set the changes flag in function exit EXIT_SAPMM06E_018 with Z include ZXM06U40 as
          E_CI_EKPO-ZZBNO = WA_EKPO_CI-ZZBNO."Say your Z field
          E_CI_EKPO = 'X'.
    2)Check the following note [SAP Note 407975|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=407975]
    Thanks & Regards,
    Faheem
    Edited by: Md Faheem on Oct 27, 2010 11:28 AM

  • Horizontal scrolling problem

    Hi there I wanted to ask how to fix an issue about Muse. I want to create a "responsive navigation bar" and I didn't figured out a way, the only thing that I could do is to make a very large rechatangle (ex. with wight about 8 or 9K). That thing works very well BUT I'm now able to scrol horizontaly in the web page. Any fix for this guys, thanks!!! :))))

    Actually I found a way to do what I've wanted. I wanted this:
    And I have made it with this:
    Thanks everyone who wanted to help. Sorry for the stupid question.
    Best regards everyone!!!!!!

  • Dynamic DataGrid + slow horizontal scrolling

    Can anyone explain why my datagrid horizontal scrolling is so
    slow:
    Demo
    www.smithkjaer.dk/flex/TestComp.htm
    Source
    www.smithkjaer.dk/flex/srcview/index.html
    Depending on your connection it can take a few seconds to
    start due to a large number of columns being generated dynamically
    out from the xml source.
    Note: If I disable the datagrids scrolling and scroll it in a
    canvas there is no performance problem when scrolling, except i
    miss my column header labels when vertical scrolling is used.
    If I disable my dataProvider and build the dataGrid without
    adding data it also scrolls fast

    I have now filed this as a bug which has been confirmed,
    which you can read about here :
    http://bugs.adobe.com/jira/browse/SDK-14361
    Please vote for this bug to be fixed

Maybe you are looking for

  • Allow external traffic to access internal computers

    We have an ASA 5505 running version 8.4. We are having problems allowing external traffic to access computers behind the firewall. Our current config is: ASA Version 8.4(3) hostname ciscoasa domain-name default.domain.invalid names interface Ethernet

  • Creating Travel request with TRIP Getting Error 'Infotype P0017 could not be read'

    Getting this error while creating travel request with TRIP transaction code. Please help for an alternate way to create Travel request or help to resolve this issue. If this error is due to 0017 maintenance, please help me to maintain infotype 0017.

  • How do I Change the default mailbox on SBS 2011

    I have created 3 other mailbox databases to help manage users mailboxes "Size".  I now have a front office, Sales and Executive databases.  All of these have different settings as far as send/receive limits and total size limits. When I create a new

  • Best way to log data

    I have an application that receives data from a source, and I would like to create and maintain a log file with this data. Small bits of data will be received at least every minute, and often once every second. The user can also view the logged data

  • [SOLVED]gcc-libs and gcc-libs-multilib are in conflict

    Can't update today. [glow@GlowArch ~]$ sudo pacman -Syuv :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date catalyst is up to date :: Starting full system upgrade... warning: an