How can I control the display of rows in datagrid without changing the dataprovider?

Hello,
I'm using advancedatagrid to render my table but I'm facing a problem to skip few rows which are unwanted or to hide. I should retain my original dataprovider without any modifications to achive this behaviour as I'm using it at many places.
Can you guys please send me a tip or the example code? I really appreciate for it.
Thanks,
Siva.

Hello Gaurav,
Thank You..!!! I tried appling filterFunction on the ADG and got whatever I expected but filter changes the original dataprovider behaviour. SO which I dont want to do it.
I have created a local variable and binded whatever data wanted to display on that page. Infact it works as expexted and I still have original data provider as well.
I have one more problem, I'm using creationComplete to initialize my local data provider value. It works only once while creation of state. If I navigate my screens fore and back and come back to this screen, it doesn't display the modified values as creationComplete loads only while state creation.
Is there any mothid which does the samething while vising the page every time than creation?
Thanks,
Siva

Similar Messages

  • How can i print just one page of photo book without printing the entire book

    how can i print just one page of photo book without printing the entire book

    Jim,
    Take heart.  We can help.
    First turn on page view so you can see how the content of your sheet fits on the page(s).  A Numbers document contains sheets (listed on the left) which in turn contain tables, charts, text, and graphics.  Select the sheet you want to print on the left, then enable page view by selecting the menu item:
    "View > Show Print View":
    Now you should see your content and how it fits on one, or more, pages.  If thie content is too big for one page use the controls and the bottom left of the window to expose the sheet controls:
    Here a table is too big to fit on one page:
    slide the "Content Scale" slider so the content fits:

  • If I have an IPhone and my mother has an IPod, how can we share an iTunes account on a Mac without sharing the music?

    If I have an IPhone and my mother has an IPod, how can we share an iTunes account on a Mac without sharing the music?

    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • How can i add my outlook email to my ipad without useing the Exchange Service?

    Please help me in this, How can i add my outlook email to my ipad without useing the Exchange Service?

    I'm afraid you've posted in the wrong place. This is a technical forum around a particular product called 'SharePoint'. This does talk to Exchange and Outlook in places but we don't specialised in either of those. You should have a look for one of the
    generic Outlook support forums or contact your IT department if it's a work related account.

  • I reinstalled my OS and now it wants to empty my phone.  How can I get it to back up my phone without removing the data?

    I reinstalled my OS and now it wants to empty my phone.  How can I get it to back up my phone without removing the data?

    You can't. But if you backed up your computer prior to wiping it out, you should be able to restore your iTunes library, contacts, photos, etc. from that backup. Once you do, you can set the phone up again and just sync everything from your library back to it.
    If you didn't back the computer up either, you can transfer items purchased on the phone into iTunes, and if you set up at least one contact in whatever application you sync your contacts to on the computer, it will offer to merge the address books on the first sync, saving those.  Any media you'd acquired from sources other than the iTunes store will have to be re-downloaded from the source or re-ripped.
    The iPhone is NOT a backup device.

  • How can I make albums from events then delete events without deleting the album?

    Hey, just need a little help!
    How can I make albums from events then delete events without deleting the album?
    Many thanks

    You'll be more likely to get help with this if you ask in the iPhoto forum:
    https://discussions.apple.com/community/ilife/iphoto
    You'll need to tell people what version of iPhoto you have so they can give you correct advice.
    Regards.

  • How can I delete a bookmark address in I cloud without deleting the whole account

    How can I delete a bookmark address in I cloud without deleting the complete account. Is it possible?

    Your question does not make much sense. iCloud syncs Safari's bookmarks between devices. If you delete a web site's bookmark from one device it will be removed from all other devices setup to sync to your iCloud account. If this is a bookmark to other websites you have an account with such as Amazon or other sites you are only removing the bookmark to that site, you would have to log into that website to remove thae account related to that site.

  • HT201210 how can i retrieve texts from an earlier back up without changing all the other settings on my iphone?

    how can i retrieve texts from an earlier back up without changing all the other settings on my iphone?

    You can't. Restoring from a backup is all or none.
    You can use a utility such as this one to extract the messages from the backup on your computer but you can't re-transfer the messages to the Messages app on your iPhone.
    http://msb.macsupport-pr.com/

  • How can i get notification of new emails in Mail without having the application open?

    How can i get notification of new emails in Mail without having the application open?

    Leave Mail running, but close its window (click red dot or ⌘W).
    Right-click the Mail icon and use "Options" to enable "Open at Login".  In the "Login Items" tab of "Users & Groups" system preference, check the "Hide" box next to Mail so it doesn't open a window when starting.

  • How can I restore my sons itouch to original settings without doing the restore through iTunes? He can't remember his passcode and when I try to restore through iTunes it never completes the update/restore without timing out?!?!

    HOw can I restore my sons itouch to original settings without going through iTunes restore? When I plug into iTunes it will never complete the update/restore without timing out? He can't remember his password. I can't get my iTunes to update to the newest level either without timing out. Please help!

    The thread title differs from the original post, sorry for the confusion.  I read password instead of passcode.
    The only way past a passcode lock is by entering the passcode.  Refer to HT1212 iOS: Wrong passcode results in red disabled screen:
    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup).
    If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present.
    As for timing out during the restore...
    If there isn't any antivirus or firewalls in the way, I would try restoring from a different user account or even a different computer.  If still unable to restore without timing out, I would try a different network.

  • Sorting a DataGrid without changing the content

    I have a datagrid which is shown in a chart. I'd like to have it sorted upside down the dataField "x" without changing the chart, which is bound to the same arrayCollection. How can I do this without changing the chart?
    <mx:DataGrid sortableColumns="false"  width="480" height="156" dataProvider="{myArrayCollection}" editable="false" y="581" enabled="true" x="10">
              <mx:columns>
                    <mx:DataGridColumn id="col1" dataField="x" headerText="Trade #" />
                    <mx:DataGridColumn id="col2" dataField="p" headerText="Price" />
                    <mx:DataGridColumn id="col3" dataField="n" headerText="Users" />
                </mx:columns>
    </mx:DataGrid>
    thanks
    nicolas

    ArrayCollection is a view of a source Array.  If you create a second view, it can have a different sort order because sort and filters are properties of a view.
    Just assigning AC2 = AC1 simply has AC2 referencing the same view so sorting will have an effect on all consumers of that view.  However, if you do:
    AC2 = new ArrayCollection();
    AC2.list = AC1.list
    then you can sort AC2 and AC1 will not reflect the sort and vice-versa.  But, if you add an item to AC2 or AC1 it will be reflected in the other AC.  If you modify a property of an item in one AC, the other AC will see it.
    If you do:
    AC2 = new ArrayCollection()
    AC2.source = AC1.source
    You can also sort AC2 and AC1 will not reflect the sort and vice-versa.  But, if you add an item to AC2 or AC1, the other will not reflect that change unless you force an update on the other.  Same is true if you modify a property on an item in the AC.  The other AC won't know about it until you force an update.
    If you want to modify properties of an item in one AC and not every have it reflected in the other AC, then you should do a copy as the previous responder suggested.  I believe you want to use the pattern that assings AC2.list = AC1.list.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • How can I control which display my dock displays on?

    When I boot my MacBook Pro, the dock starts on my MacBook screen, but if I use my Thunderbolt display a lot, the dock suddenly jumps over there, where I don't want it. How can I force the dock to go back to my laptop screen and stay there?

    This is a new feature in Mavericks.  Each display now can have a “separate space.”  This allows one to access the menu bar and dock on any screen.  It also means application windows will start on the screen that is active (a feature I don’t like).  It enables a display to be in full-screen mode (e.g. for showing a movie) while the other screens are in normal mode.
    If you don’t like these features and prefer the Mountain Lion common display space you can disable separate spaces.
    System Preferences > Mission Control > Displays have separate spaces > Uncheck the box.

  • How Can I restore my ipod shuffle to factory setting (without all the software updates)?

    After updating my ipod shuffle, my car no longer recognize it. I cannot connect it to my car via usb. For the past few weeks I have been listen to only songs on the radio. I tried to restore it, but fond out that all it did was removed all my songs ect, but the update is still the most current version. Please someone, please help me. How can I restore my ipod shuffle to the original factory setting without all the update.

    You may have the accessibility VoiceOver feature or another one turned on.
    Triple click the home button and try going to Settings>General>Accessibility and turn VoiceOver off and any others off. You may have to use three fingers to scroll the screen to get there. If problems see the following for how to turn off via iTunes:
    iPhone: Configuring accessibility features (including VoiceOver and Zoom)
    Next try:
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up                                                 
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                       

  • How can I protect formulae in a newly created spreadsheet without locking the whole sheet ?

    How can I protect formulae from being overwritten on a newly created spreadsheet without locking the whole sheet ?

    Olly,
    I'll be picky here on nomenclature ;-)
    Tables and other Obects can be locked, but Sheets can't be locked.
    If you wish to shield some parts of your content from accidental modification, arrange your layout to put that sensitive content in tables separate from the tables that need to be accessed, and lock the sensitive ones. It's also possible, but rather clunky, to place shields over the sensitive area. A shield can be made by Inserting a Shape and positioning the shape over the sensitive area. With the shape selected, go to the Graphics Inpector and set the Opacity of the shape to zero. You will then be able to see through the shape but will no be able to Click through it to get at the cells below. This method is inconvenient because you have to worry about keeping the shape aligned with the table should the table need to change size or shape.
    Jerry

  • If i have downloaded ( different ) apps in two iphones how can i add new apps in either of them without losing the older ones?

    i have two iphones 3g one at 4.1 and other at 3.1.3.....i have downloaded through itunes 30 apps in one and 55 different apps in other .......now how can i add 10 more apps in either of them without losing the previous apps .....if i don't have the previous apps downloaded now in my laptop..................?

    You can download the Apps on other devices by logging into the App Store with the ID you downloaded the App with

Maybe you are looking for

  • Email notification to specific user when processing multiple files at a time

    Hi  I am new to SSIS and error mail notification ,can some please provide details for my urgent and prioritized task in my project. below is the requirement I have a package for multiple file processing using for each file enumerator .each file havin

  • How can i insert the text file in a hashSet???

    Hi, here's the code to feed the text file into the program, i need to put the words from the text file into a hashSet, im not too sure how to go about doing this, can anyone help please? import java.io.*; public class FileIn { BufferedReader in; publ

  • It seem a bug in flash server " main.asc is not working well"

    i did download the latest version of flash media server , but it seam the /live/main.asc did not work at all , i did create a main.asc in : C:\Program Files\Adobe\Flash Media Server 3\applications\live\ to be : C:\Program Files\Adobe\Flash Media Serv

  • Java is pure object oriented programing language or not why?

    please clear java is pure object oriented programing language or not why?

  • FormPreferencesService

    Hi All I am using FormPreferencesService for the Sales Invoice Form. But it is not reflecting the changes even after log off the SAP. I am making the OpenQty Col as Editable.It reflect the changes in CRPF table..but when i log in after log off it res