How to remove the use of virtual layout on a Spark DataGrid

Hi!
I have the following spark data grid:
<s:DataGrid id="listagem"
            x="6"
            y="6"
            width="640"
            height="400"
            skinClass="skins.dataGrid.ConsusListagemDataGridSkin"
            dataProvider="{imoveis}">
     <s:columns>
          <s:ArrayList>
               <s:GridColumn headerText="IMÓVEL"
                             itemRenderer="components.itemRenderers.ListagemImovelItemRenderer"/>
               <s:GridColumn headerText="LOCALIZAÇÃO"
                             dataField="comuna"
                             width="130"/>
               <s:GridColumn headerText="PREÇO"
                             labelFunction="{function (item:Object, column:GridColumn):String {return '$ '+item.preco;}}"
                             width="90"/>
               <s:GridColumn headerText="COMPARAR"
                             width="70">
                    <s:itemRenderer>
                         <fx:Component>
                              <s:GridItemRenderer>
                                   <s:CheckBox verticalCenter="0" horizontalCenter="0"/>
                              </s:GridItemRenderer>
                         </fx:Component>
                    </s:itemRenderer>
               </s:GridColumn>
          </s:ArrayList>
     </s:columns>
</s:DataGrid>
My problem is that, if I select the check box on one item having a considerable amount of rows, then if I scrool down another item will appear checked even if I never clicked it.
This is due to the use of virtual layout by the spark data grid, but I just can't find where to tell the data grid to not use virtual layout.
Can anyone help me, please?
Thanks,
Jorge

Hi kevinklin!
Thanks for your answer.
I tried to do as you told but I never get the prepare method to be executed.
I just added this to the GridItemRenderer:
public override function prepare(willBeRecycled:Boolean):void
     Alert.show('BLA OUT');
     if (willBeRecycled)
          Alert.show('BLA IN');
but I never get to see any alert box.
Best regards,
Jorge

Similar Messages

  • How to remove the '#'symbols for infoobject movement types in bex reporting

    Hi All,
      I have a problem in Bex reporting. The problem is when ever executing the report  that time some of the characteristic values is shown in layout '#' Symbols. i want to remove the '#' valuse in report.
    is it possible please give me step by step procedure for how to remove the '#' Symbols in reporing layout.
    this is very urgent please help to me on this issue.
    Thanks & Regards,
    Guna.

    Hi Guna,
    To achieve this issue, we need to replace the value of ‘#’, we need to change the description while retrieving the data from tables. So we need to write some ABAP code in SE38. Go to RSA1 transaction and go to Info objects tab. Then go to context menu for ‘cProject Key Figures’ as shown below. Click on the ‘Object Overview’ to get the overview of all the info objects. Here you can see the field names which are used to know the table names.
    In SE11, type the table name in ‘Database Table’ field. Now press ‘F4’, then you will get the next screen to select one of the P/Q/S/T tables.
    Now click on the button rounded in the below screen to view the data in the table.
    Now click the execute button or press ‘F8’ to view the records.
    Now go to Tcode: SE38. Create a source code and give some program name for that source code. To write code, you need access key. Contact your BASIS for this.
    Now write the below code for that particular table in which you want to change the value ‘#’ to description ‘Blank’. In the below source code, we are updating particular table, setting the field as ‘Blank’ where it is null or no value. Here the field will automatically get updated to ‘#’ if there is no value or null.
    update /BIC/PXXXXX set /BIC/ZXXXX = 'Blank' where /BIC/ZXXXXX is null or /BIC/ZXXXX = ''.
    if sy-subrc eq 0.
    write 'successful'.
    commit work.
    else.
    write 'unsuccessful'.
    endif.
    OR
    If this # is because of the missing master data than,
    right click that IO -> maintain master
    you will see first row as a blank.
    whatever value you maintain in this row that will come in the report for all Not assigned # values of the master data in the report.
    maintain it according to your requirement, save and activate the master data
    Hope this helps u...
    Regards,
    KK.

  • How to remove the OR clause in this query?

    Hello Everyone,
    I have this query where i have a lot of joins and in the where clause there is a ISNULL and conditions based on OR clause.
    How to remove the use of the OR clause which may cause performance problems? Can anyone suggest a method to remove the OR clause?
    select RS.PLANNEDSTART,
    OD.ESTSHIPDATE
    FROM TABLE1 RS(NOLOCK)
         INNER JOIN TABLE2 SS(NOLOCK)
         ON RS.ID1             = SS.ID1
         INNER JOIN TABLE3 AM(NOLOCK)
         ON AM.KEYID        = SS.KEYID
         INNER JOIN TABLE4 OD(NOLOCK)
         ON SS.KEYID= OD.KEYID
        INNER JOIN TABLE 8 DR
       ON
    WHERE              (isnull(RS.DATE1,'1970-01-01 00:00:00.000') ='1970-01-01 00:00:00.000'
                     AND OD.DATE1 between @Beginning_Route_Date and @Ending_Route_Date)
                 OR
                 RS.DATE1!='1970-01-01 00:00:00.000'
                   AND RS.DATE1 BETWEEN  @Beginning_Route_Date and @Ending_Route_Date)              
    Regards
    Gautam S
    Gautam S

    this is one way avoiding OR clause
    WHERE CASE WHEN isnull(RS.DATE1,'1970-01-01 00:00:00.000') ='1970-01-01 00:00:00.000'
    THEN OD.DATE1 ELSE RS.DATE1 END between @Beginning_Route_Date and @Ending_Route_Date)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to remove the Sessions used in the application

    Hai Techies,,,
    i am using many number of sessions in my application, for example i am using 5 sessions in reports module
    my application is a web based application
    if can't remove the sessions it contains the huge amount of data , my application is going into mess, and the application performance will be decreased..
    Can anybody tell the solution for this Problem
    How to remove the Sessions used in the application
    Hoping a reply
    Thanks & Regards
    Krishna mangamuri

    Hai Gita,
    i am not able to do the session invalidate method bcoz, i am mainatainting the session from login along with the current userid who is login into the system and putting some of the data in session....
    thats session is to be valid upto when i click on logoff link
    except that i have to remove the sessions in my application
    while navigating from one jsp to another i have to remove the sessions, bit somes times that sessions may be used somewhere
    Can u Understand My problem
    session remove method may also helpful to me but some times it will casue some prob to me
    Is there any other Way to remove the sessions in the Application ????
    Thanks & Regards
    Krishna Mangamuri

  • How to remove the white space that is now above the main images on each page?

    http://www.nydogworks.net
    Hello,
    I took over updating some things on my site from my web designer. The main images on each page used to be flush with the navigation bar on each page. Now there is a white space in between each one. Can you tell me how to remove the white space?
    <div id="container">
    <div id="imgholder"><img src="images/feature-aboutus.jpg" width="951" height="341" alt="" />
    </div>
    <div id="pageContentNoside">
       <div id="sideSub">
         <form action="form.php" method="post" name="form2" id="form2"> <table width="250" border="0" cellpadding="2" cellspacing="2">
           <tr>
             <td width="273"><h2>Quick Contact</h2></td>
             </tr>
           <tr>
             <td class="mainContent">Your Name</td>
             </tr>
           <tr>
             <td><span class="style9">
               <input name="forname" type="text" class="colorfieldssmall" id="forname" size="20" />
               </span></td>
             </tr>
           <tr>
             <td class="mainContent">Your Email Address* (required)</td>
             </tr>
           <tr>
             <td><span class="style7 style9">
               <input name="admail" type="text" class="colorfieldssmall" id="admail" size="25" />
               </span></td>
             </tr>
           <tr>
             <td class="mainContent">Phone Number</td>
             </tr>
           <tr>
             <td><span class="style7 style9">
               <input name="phone" type="text" class="colorfieldssmall" id="phone" />
               </span></td>
             </tr>
           <tr>
             <td><span class="mainContent">Type of Dog Training</span></td>
             </tr>
           <tr>
             <td class="mainContent"><span class="style9">
               <select name="need" class="colorfieldssmall" id="need">
                 <option value="select one">select one</option>
                 <option value="Basic Obedience">Basic Obedience</option>
                 <option value="Behavior Therapy">Behavior Therapy</option>
                 <option value="Board and Train">Board and Train</option>
                 <option value="Off Leash Training">Off Leash Training</option>
                 <option value="Puppy Training">Puppy Training</option>
                 </select>
               </span></td>
             </tr>
           <tr>
             <td> </td>
             </tr>
           <tr>
             <td><div align="left">
               <input type="submit" name="submit" id="submit"  value="Submit" />
               </div>
               </td>
             </tr>
           </table></form>
         <h2><br />
           Dog Training Services<br />
           </h2>
         <ul id="subnav">
           <li><a href="basic-obedience.html">Basic Obedience</a></li>
           <li><a href="dog-behavior-therapy.html">Behavior Therapy</a></li>
           <li><a href="board-and-train-dog-program.html">Board & Train Program</a></li>
           <li><a href="off-leash-training.html">Off Leash Training</a></li>
           <li><a href="puppy-training-program.html">Puppy Training</a></li>
           </ul>
         <br />
         <br />
         <br />
         </div>
      <div id="suggestPost"><a href="https://www.facebook.com/pages/NYDogWorks/219268038151244?fref=ts" ></a></div>
       <div id="mainContent">
         <h1 class="copyrightType">About NY DogWorks</h1><br />
         <h2> <span class="testimonal">The Owner of NYDogWorks</span>      </h2>
         <p><span class="copyrightType"><img src="images/dogpic.jpg" alt="Dog Behavior Therapy" width="183" height="275" class="h_img_float_right" /></span><strong>NYDogWorks L.L.C. is owned and operated by Master Certified Dog Trainer and Behavior Specialist Brian DeMartino. </strong><br />
           <br />
           His training is hands down the best out there. He has become one of the most sought after dog trainers throughout Long Island, Manhattan, &amp; New York.<br />
           <br />
           With over 15 years experience training and rehabilitating some of the toughest cases of dog behaviors. He’s Mastered the Art of teaching top knotch obedience and manners with outstanding results and has developed the most full proof and guaranteed system to fully housebreak any puppy or dog in the shortest amount of time.<br />
           <br />
           He is Certified in dog training and dog behavior and is an Official Evaluator for the American Kennel Club’s (C.G.C) Program.<br />
           <br />
           <br />
           <strong>All About NYDogWorks</strong><br />
           </p>
      <p><br />
      </p>
         <p>NYDogWorks Dog Education, is a Professional Dog Training Company offering dog training for puppies and older dogs through customized in-home training programs by Master Certified Trainers in Nassau County, Suffolk County, Hamptons, Long Island, Manhattan, Brooklyn, Bronx, Queens, Rockland County, Westchester County, Orange County, and Bergen County New Jersey. NYDogWorks offers obedience training, Housebreaking, Manners, socialization for your dog,  Puppy Training and Education, Behavior Therapy, Trick Training, Agility, Complete Off Leash Training, Sport Work, and Personal Protection Training. <br />
           <br />
           <strong><br />
             NYDogWorks Boarding &amp; Training Programs</strong><br />
           </p>
      <p><br />
        We offer boarding and training programs done in the home of owner, Brian DeMartino. This is a customized 2-6 week program to suit your dog's needs, great for someone who feels they do not have the time or patience to train or rehabilitate their dog at their home. This is a 100% guaranteed program. Your dog will stay with us for no additional charge if we feel that he or she has not learned all that was agreed upon. We guarantee that if there is any regression within 3 months of your dog being back home with you, he/she will come back to us for no additional charge.<br />
        <br />
        <a href="board-and-train-dog-program.html">View Boarding &amp; Training Programs</a></p>
         <p><br />
           </p>
         <p><br />
           <br />
      </div>
       <div id="breadCrumbs">
         <p><a href="index.html">Home</a> &gt;  NY DogWorks - About Certified Dog Trainer Brian DeMartino<br />
           <strong>Serving all of Long Island, Nassau &amp; Suffolk County, Manhattan, Brooklyn &amp; Queens</strong></p>
         </div>
    </div>
        <div id="footer">
          <div id="footermenu">
          <div id="footermenu1">
          </div>
        </div>
       <div class="phoneNumber" id="copyright"> Copyright © 2014  NY DogWorks</div>
         <div class="websiteDesign" id="sitedesigner">Long Island Website Design by <a href="http://www.wetribet.com" title="Wet Ribet" target="_blank" class="medlink">Wet Ribet</a>     </div>
    </div>
    </div>

    You should be able to add the following snippets of css to your stylesheet to fix that.
    In the mainstyle.css file, change...
    #imgholder {
    width: 950px;
    margin-top: 0px;
    padding: 0px;
    margin-right: auto;
    margin-left: auto;
    to
    #imgholder {
    width: 950px;
    margin-top: 0px;
    padding: 0px;
    margin-right: auto;
    margin-left: auto;
    overflow:hidden;

  • How to remove the Option "Only Refer Excise Invoice "from MIGO

    Hello,
    We are using the ECC 6.0. while suppose material is excisable then there are Four options will come in MIGO --Excise Invoice tab
    1)Only Cature Excise Invoice
    2)Only Refer excise Invoice
    3)Only Part1
    4)No excise Entry
    As per my client requirement then only need two options in MIGO.
    1)Only Part1
    2)No excise Entry
    Bcz they want to Capture and Post excise Invoice in J1IEX only...
    I have tried from Tax on goods movementIndia-Basic settings--Excise Grp settings..... Here in MIGO settings  we can remove the Click from "EI Capture"....Then we will not find the Capture excise Invoice in MIGO. Next How to remove the "Only refer Excise Invoice from MIGO..
    Regards
    sapman

    Hi,
    You can capture Excise Invoice w.r.t. PO in J1IEX and then refer it during MIGO (Note: - You are not capturing Excise Invoice again, only referring it) and then Post it in J1IEX.
    And in case of Stock Transport Orders, you need to refer the Excise Invoice No at the time of GR in receiving plant which is posted in the Supplying Plant (via J1IIN) so that system will copy all the duties same as of that invoice and user need not to do any manual intervention.
    Also in case of Imports, first you capture Bill of Entry w.r.t. PO in J1IEX and then refer it during MIGO and finally post it in J1IEX.

  • Urgent help: How to remove the accumaltion when show movies step by step with buttons

    I want to show the movie step by step by clicking the next
    button. Inside each frame, many movie clips are generated
    dynamically at runtime, and they can be played interactively.
    I achieves the step-by-step display of those frames by adding
    another layer with the action stop(). But I got one trouble: all
    the movie clips from previous frames are accumalted. How to remove
    the accumulation from previous frames?
    For the continuous display of the movie, I tried to use
    onEnterFrame() and change the _visible property of all the movie
    clips to false in this function. But it doesn't work for the
    step-by-step display. Once I click the next button, the movie clips
    at the current frame just show very quickly, then disappear. What
    should I do?
    I need to fix this immediately.
    Your help would be greatly appreciated.
    - zcx

    you can use the removeMovieClip() method for those movieclips
    added dynamically.

  • How to remove the pop-up window ''Wireless Radio Status" for t430s

    Hi, I have owned my t430s for now about 2 years without any major complaints recently I've had to use the fn + f5 function quite frequently, because of my poor internet connection. so that way i can reset which signal I want to choose because the default signal I am connected to is not mine. My problem is similar to what is posted here: https://forums.lenovo.com/t5/X-Series-Tablet-and-Helix/how-to-remove-the-pop-up-window-Wireless-Radio-Status/td-p/1191059 I really want to get rid of the pop up for this feature, I've tried to follow what the other thread user's have done and try out their solutions but it does not work for my t430s i tried changing the pmev thing to what was posted in the thread. Can anyone help me? Thanks!  

    I already tried that as mentioned in my original post, it doesn't work. I still get the pop up message: this is me pressing fn + f5 

  • How to remove the old email address that was hacked from my iCloud account when iCloud won't let me?

    How to remove the old email address that was hacked from my iCloud account when iCloud won't let me?
    Pretty much the the email that I used (but didn't verify) to create my iCloud account was hacked and now I can't remove it from my iCloud account due to the iCloud password also being changed by the same person and the fact I had "Find my iPhone" app on my phone also??? I had to change my iTunes email as well but that was far easier so yeah :S.
    Please help. I live in NZ, out in the country, so reception is rare and so is getting into the nearest town that has an Apple Store.
    Thanks

    If you truly change your existing Apple ID's email address to a new email address, follow these instructions: iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    If you created a whole new Apple Account because you couldn't access the old one after being hacked, you will need to contact the Apple Account Security Team. Apple ID: Contacting Apple for help with Apple ID account security

  • How to remove the rule or class function in CS5

    i need to know how to remove the rule or class function in CS5  at the bottom of the screen there are two options for formating HTML and Css when i click the HTML it only allows me to change the bold or italics or link something but when i click CSS it allows me to format how i want the paragraph aligned and the text size and font when i click on lets say changing the font size a box comes up asking me to name a rule so it applies it to everything else i type i want to know how to stop tht like edit everything on my own and if i use CS5 here will it be compatible with CS4 or CS3 at my skool plzz help ive been frustrated with this

    If I use CS5 here will it be compatible with CS4 or CS3 at my skool plzz help ive been frustrated with this
    Code is code.   It doesn't matter which product you use.
    i need to know how to remove the rule or class function in CS5
    You can't.  DW encourages you to use good coding methods, which means using CSS classes and to keep content (HTML) separate from styles (CSS).  For example, if you change font-size on p tags like so:
         p {font-size: 38px}
    Every paragraph will have 38px sized text.
    If you want to apply a special style to just a portion of your text, you must define a CSS class name like so:
    .foo {
    font-size: 38px;
    color: red;
    HTML:
    <p>This is normal paragraph text <span class="foo"> And this is very big and red.</span></p>
    This is normal paragraph text And this is very big and red. 
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    Message was edited by: Nancy O.  -- unfortunately, this forum doesn't support Raw HTML with inline styles. You'll need to paste my code examples into your DW page to see the effect.

  • How to remove the Linked Button in particular forms

    How to remove the linked button in particular sap b1 forms.

    Hi,
    In standard B1 Forms, we can't remove the linked button.
    Why you want to remove linked button.
    I think, the user don't want open the master data?
    In such cases you can use the authorization for the users to access the master data.
    Hope this will help you.
    Regards,
    Venkatesan G.

  • How to remove the "0" from the sum cell when the other cells are empty?

    Hello!
    When I use the formula to sum the values from a few cells, there is a zero in the sum cell when the other cells are empty.
    My question concerns how to remove the 0 from the sum cell when the cells that will be summed are empty.
    Thank you!
    /Johan Strömbeck

    Hi,
    Please try the Mr. Laurence's suggestion first. Then, we may try the other workarounds.
    1) Go to Excel option> Advanced>Display Option for this worksheet> Uncheck Show a zero in cells that have zero value
    2) Go to Conditional Formatting>New Rule>Format only cells that contain> Value equal to 0> Format the color with white
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support

  • How to remove tag using filter

    I want to use a filter to remove tags already on emails. I can add tags using a filter but cannot see how to remove tag using filter.

    The FiltaQuilla add-on provides a "remove tag" option.
    https://addons.mozilla.org/en-US/thunderbird/addon/filtaquilla/
    http://www.ramsden.org.uk/3_How_to_install_Add-ons_in_Thunderbird.html
    But, out of interest, what's the use case for removing tags by filter? Tags are normally used to facilitate or prompt human intervention and I don't immediately see the value of clearing a tag in a filter. Why tag if a filter will be dealing with it anyway?

  • How to  remove the Special characters like @,#,$ ,..from field

    How to  remove the Special characters like @,#,$<,..from text  field. we nedd to remove any specila char from text field .
    ex:text  = just#fi%cation@text
    the text should be justification.

    hi check this ..
    data:char(25) value '5#4#2#&1#&',
         char1(9) .
           replace all occurrences of '#' in char with 'and' .
           replace all occurrences of '&' in char with 'num' .
         write: char.
    or use this..
    data:char(25) value 'test@ing*5#4#2#&1#&',
         char1(9) .
           replace all occurrences of '#' in char with space .
           replace all occurrences of '&' in char with space .
           replace all occurrences of '@' in char with space .
           replace all occurrences of '*' in char with space .
         write: char.
    regards,
    venkat.

  • How to remove the 0 that is added to the formula result

    Hi,
           I have a formula field. i placed the formula field in the group footer. zero (0) is added to the formula result. if the formula result is 8 then i am getting 0.00 and 8 as data when i select the browse field data of that field . how to remove the zero. i also used supress formula for the field. but it is not working. any idea on this regard.
    Regards,
    Shanthakumar.

    hi,
      Formula : GRP1Focus
                  if ({@Grp1BrandName}={@All Brand Names})  then {@FocusValue NBSH}. when i right click the formula field and select browse data. 0.00 and 8 are displaying.
    Suppress formula
             GRP1Focus=0
    Regards,
    Shanthakumar

Maybe you are looking for

  • Not showing in itunes

    I have iTunes 10 on Mac OS 10.6. My iphone isn't showing up in iTunes. Help!

  • Need to control Closure of Purchase Order on Creating GRPO or A/P Invoice

    Hi All,          I have created a single Purchase Order with multiple Line Items. This Purchase Order is to be executed every Much. We do not wish to give the Vendor a new Purchase Order Every month and want to use the first Purchase Order for refere

  • Ipad mini orientation

    My Ipad mini seems to be locked in one position. I have checked Control Center and it says it is unlocked. I know that the switch on the side can be for the rotation lock or Mute. It is set on Mute so I use the Control Panel. It was working fine and

  • Screen is grey

    The display is now just grey after freezing. Recently the computer has been automatically shutting down. I also recently upgraded the OS to Snow Leopard from OS 10.4 The computer has also been very slow responding sometimes.

  • XI - BI connection

    Dear all, I'm developing some XI work which needs integration with a SAP BI system. However, there is no link set up between the systems. If I look in BI it cannot find/link to the SLD. Do you have any suggestions on how to accomplish the link betwee