Problem in Grid when ExecuteQuery

Hi all!
I have a grid that I load via the function ExecuteQuery.
My problem is that every time I update the grid with this function, however, the columns lose the settings of width and visibility (these settings are reset).
How can I do to keep these settings???
Thanks!

Gianluca - it is a limitation of the grid object that it does not save form settings, or even properties set in your code.
The workarounds are:
1. If the widths and visibility settings are being entirely controlled by your addon, you can just call the method to set them every time you query your datatable
2. Convert the application to use a matrix instead of grid in order to keep form settings persistant.
The downside of approach 2 is you have to rebind your matrix every time you execute a query, and also of course lose the features of a grid like collapse level etc.
Sorry I can't be more helpful, but it is just a limitation unfortunately.

Similar Messages

  • Problem in JDBC , when using LIKE operator. - VERY URGENT

    Problem in JDBC , when using LIKE operator.
    LINE 1 : String temp = "AA";
    LINE 2 : String query = "select * from emp where EMPNAME like '*temp*' ";
    LINE 3 : Staement st = con.createStaement();
    LINE 4 : ResultSet rs = st.executeQuery(query);
    '*' character is not getting evaluated. In MS ACCESS2000 only * is accepted instead of '%'. Moreover in MS ACCESS the like operator has to be used within double quotes as a String. whereas in other databases, it accepts single quotes as a String.
    Ex:
    In MS ACCESS
         select * from emp where ename like "*aa*";
    Other Databases
         select * from emp where ename like '%aa%';
    In my situation iam passing a Variable inside a like operator and '*' is used.
    For the above Scenario, Please help me out.
    If possible Kindly let me know the exact Syntax.
    Please give me the answer as LINE1,LINE2,LINE3,LINE4,
    I have verified in JDBC Spec also, it has been specified to use escape sequence.that too did not work.
    Due to this, My project is in hold for about 4 days. I could not find a suitable solution.
    Please help me out.

    I made a LIKE clause work with M$ Access, using PreparedStatement and the % wildcard:
                escapeStr                   = "%";
                String sql                  = "SELECT USERNAME, PASSWORD FROM USERS WHERE USERNAME LIKE ?";
                PreparedStatement statement = connection.prepareStatement(sql);
                statement.setString(1, ("user" + escapeStr));
                ResultSet resultSet         = statement.executeQuery();
                while (resultSet.next())
                    System.out.println("username: " + resultSet.getObject("USERNAME") + " password: " + resultSet.getObject("PASSWORD"));

  • Sorting problems in Grid View

    Hi, I'm having a bit of a sorting problem when it comes to an artist with name variations. The example I'm going to use is DJ Tiesto.
    There are album I have where he is credited as DJ Tiesto, and others where he is simply Tiesto.
    In the end, I'd like these albums sorted chronologically under one name (say DJ Tiesto), while still preserving and showing the proper artist name for each album. I have it set to sort by "Album by Year", which is working fine.
    The major problem I am having is that I can't get it to display properly across all iTunes viewing methods: List mode, Grid mode, and Coverflow.
    I've tried leaving the Artist field alone, and changing the Sort Artist field to "DJ Tiesto" for all songs, and that almost works:
    -List mode groups them all under "DJ Tiesto", while showing each albums Artist as the correct artist name.
    -Grid mode sorted by Album groups them all under "DJ Tiesto", while showing each albums Artist as the correct artist name.
    -Coverflow sorts them all in chronological order, while showing each albums Artist as the correct artist name.
    Problem is, Grid mode sorted by ARTIST creates two separate artists! Some for DJ Tiesto and some for Tiesto!
    To correct this I tried changing the Album Artist field for all songs to "DJ Tiesto", which solved that problem but created a bunch of new ones:
    -List mode is still correctly grouping them under "DJ Tiesto", while showing each albums Artist as the correct artist name.
    -Grid mode sorted by Album is still correctly grouping them under "DJ Tiesto", *however now it is not displaying the correct Artist name for each album!*
    -Grid mode sorted by Artist is now grouping them all under "DJ Tiesto", *however it is not displaying the correct Artist name for each album!*
    -Coverflow is sorting them in correct chronological order, *however it as well is not displaying the correct Artist name for each album!*
    Using the Album Artist tag has created more problems that it has solved! Is there anyone who knows a way to achieve what I am trying to do? I have tried seemingly every option I can and have still not found a way to do this!!
    Thanks!

    My own method of working involves renaming the files upon import to:
    i "shotdate_sequencenumber"
    Files are therefore typically named
    b 2007-11-25_001
    etc.
    This way, sorting by Filename automatically sorts by Date by default. And it wouldn't even matter if you added a descriptive text in between the date and number (
    b 2007-11-25_Scotland_001

  • Bug - View changes to grid when expanding a collection in the left pane.

    Tried submitting this via the bug report form but got java errors. Sigh...
    This seemed like the best alternative.
    ******BUG******
    Concise problem statement:
    View changes to grid when expanding a collection in the left pane.
    Steps to reproduce bug:
    1. Goto Library Module
    2. Ensure there is a collection with at least one child - if not create one.
    3. Make sure the collection is collapsed (you cant see the child and you see a right pointing triangle to the left of the collection name)
    4. Change to Loupe view
    5. Click the right pointing triangle next to the parent collection you just created to expand it.
    Actual Results:
    View changes to grid
    Expected results:
    View should remain unchanged - in this case Loupe view.

    The first is that I can't view the aperture library anymore directly from iphoto.
    THat is exceeding strange since iPhoto '08 could not open or share an Aperture library - that ability was first introduced in iPhoto '11 - with the latest version of iPhoto and or Aperture you can open the same library with either application - http://support.apple.com/kb/HT5043
    In the current version of iPhoto the photos are sorted by date in the film strip - I've not recently done a calendar so do not remember the specifics -
    LN

  • Hi i got a new airport express for christmas and i set it up as per instructions ,i even give a static ip and wpa2 security ..the problem is is when i come to want to use it it says its not on my network and a orange triangle shows .when i reboot it works

    hi i got a new airport express for christmas and i set it up as per instructions ,i even give a static ip and wpa2 security ..the problem is is when i come to want to use it it says its not on my network and a orange triangle shows .when i reboot it works..then if i leave it a while and try iy agian its disapeared of my network...i have a bt hub 3 ....any help please ..im not sure if itsa faulty express

    I really don't have an answer for that one. I guess that while trying to get things working correctly, I would use the most basic monitor I had which in your case would be the Eizon using the Thunderbolt port and adaptor.
    When you boot into Safe Mode the startup is quite slow, but you should get the Apple logo and then the spinning gear below it (release the SHIFT key when it appears.) Then after a little more time you should see a gray progress bar appear below the spinning gear. When that disappears the computer will startup to a login screen.

  • The problem is that when I try to update my NI-DAQ drivers from 6.5.1 to version 6.7

    I have a Win95 based system running Labview5.1 which utilizes the PCI-6025E board with the BNC-2090. The existing version of NI-DAQ drivers is 6.5.1. The problem is that when I try to update my NI-DAQ drivers to version 6.7 I receive the following errors:
    1.The new software goes thru all the installation steps upto the point where it displays the message that it needs to restart to complete the installation.
    2. The system then reboots and displays the message," Completed Updating Window Files"
    3. Then I receive an error:
    'Rgdaqhce' performed an illegal operation and will shut down.
    4. The window closes and brings me back my normal Desktop display. The NI setup window appears and displays" Installing: Please Wait".
    5. Then it goes thru the NI-DAQ setup normally, choosing the PCI-6025E and the BNC 2090 doc options.
    6. WHen it gets to the point of selecting Documenatation PAth, Error: NI-DAQ SETup
    Cannot find installation information for :322153.
    At this point I just choose OK.
    Then it proceeds where it request the Development path, LAbview 5.1 and then it proceeds to copy all the files and then states "Installation Complete" and are ready to configure MEasurement & Automation Sys.
    7. The Measurement & Automation window appears:
    DATA NEIGHBORHOOD
    DEVICES & INTERFACES
    SCALES.. WHen I click on any one of the above I get the following message:
    " The configuration file has been updated from a previous system. If you save changes to this file it will be permanently upgraded to the current version." At this point I choose "OK"
    8. Then it states.."you must reboot for the changes to take effect. Would you like to reboot? YEs or No!". where the Data Neighborhood folder never opened..
    9. If you choose YES, the system reboots. If I open Measurement & Automation and click on Data Neighborhood again, I get the same above message as in #8 above. If I choose No at anytime to reboot, I get the following Error:
    " Explorer- Illegal operation and it will shut down"
    Then Measurement & Automation shuts down and brings me back to my windows desktop.
    SO no matter what happens I can never get into Data Neighborhood, it keeps going into this cycle.
    So I removed NI-Daq version 6.7 and re-installed version 6.5.1.
    What recommendations may you suggest in upgrading from NI-Daq 6.5.1 to 6.7 on this system? I would like to take advantage of NI-DAQ 6.7 new feature where LAbview for Windows Data Acquisition Library LLBs now contain function calls to a dynamic link library called LVDAQ.DLL, where the benefit of changing the VIs to call DLL functions instead of code interface nodes, CINs, where thet VI load time is dramatically improved.
    Any help with this matter would be greatly appreciated.
    In the meanwhile I am searching your support page here to see if there are any similiar situation..I have not come across any as of yet.
    Thanks for your help and sorry for such a long email.

     Hi,
    One of my ex-colleagues has installed a NI-DAQ 6.5 in our system. [And I do not see any other naitional instruments card in the CPU of the computer, may be he removed it] I deleted the account and all his files in the system. When I am trying to install version8.0, its not getting installed and giving me a message that I should uninstall the previous version by going to Add/Remove programs in the control panel.
    I tried doing that, but the "Change/Remove" button does not seem to work...[There is no response and so unable to install the new version...]
    Any idea how can this problem be solved?
    It is a windowsXP operating system with SP2 installed on a machine with P4 processor.
    Thanks

  • Dear Apple Support,  Good day to you. This is to report the problem i encountered when i updated my Ipad mini to the new IOS 8.1..  After the update my Ipad restart and after that it appears a picture that need to connect to itunes and need  to resto

    Dear Apple Support,
    Good day to you.
    This is to report the problem i encountered when i updated my Ipad mini to the new IOS 8.1..
    After the update my Ipad restart and after that it appears a picture that need to connect to itunes and need  to restore. So i connect it to itunes and wait to restore my ipad mini because it is not opening.
    After restoring it my ipad is now opening and it is like new that i need to set up again.
    I set up again until i reach the apple id and password.
    I put my below apple ID and password to unlock my ipad but it didn't work. The message i receive is "the apple ID cannot be used to unlock this Ipad.
    What will I do? Please help.
    Thank you
    Sent from my iPhone
    Begin forwarded message:
    From: Apple <[email protected]***>
    Date: October 9, 2013 at 11:53:53 PM GMT+4
    To: ****
    Subject: Your Apple ID was used to sign in to iCloud and iMessage on an iPad mini 
    Dear Leslie J.,
    Your Apple ID was used to sign in to iCloud and iMessage on an iPad mini named “Leslie Joye's iPad”.
    If you have not recently set up an iPad with your Apple ID, then you should change your Apple ID password. Learn more.
    Apple Support
    <Email Edited By Host>

    1. It is never a good idea to include personal info like your email address or Apple ID in a post on an open forum.
    2. The email you received DOES NOT say your Apple ID cannot be used to unlock this iPad. The email informs you that your Apple ID was used to unlock an iPad. Fortunately the iPad is yours. The message confirms that. If your Apple ID was used to unlock an iPad that was not yours your would then know to change your password. Since the iPad is yours you do not need to change your password.
    Is your iPad working?

  • Having a problem with dates when I send my numbers doc to excel. dates are all out and that they have to cut and paste individual entries onto their spreadsheet. Any idea how I can prevent this

    having a problem with dates when I send my numbers doc to excel. dates are all out and that they have to cut and paste individual entries onto their spreadsheet. Any idea how I can prevent this.
    I'm using Lion on an MBP and Numbers is the latest version

    May you give more details about what is wrong with your dates ?
    M…oSoft products aren't allowed on my machines but I use LibreOffice which is a clone of Office.
    When I export from Numbers to Excel and open the result with LibreOffice, the dates are correctly treated.
    To be precise, dates after 01/01/1904 are correctly treated. dates before 01/01/1904 are exported as strings but, as it's flagged during the export process, it's not surprising.
    Yvan KOENIG (VALLAURIS, France) mardi 3 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : http://public.me.com/koenigyvan
    Please : Search for questions similar to your own before submitting them to the community
    For iWork's applications dedicated to iOS, go to :
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • I am trying to move my itunes library from my old pc to my new imac, home sharing is on and I can see the shared library.  My problem is that when I check the shared library to import it to my imac I cannot import it.  Can anyone help me?

    I am trying to move my itunes library from my old pc to my new imac, home sharing is on and I can see the shared library.  My problem is that when I check the shared library to import it to my imac I cannot import it.  Can anyone help me?

    You need to transfer the iTunes Library from the most recent backup you made before the hard drive was replaced.
    You can't transfer the full iTunes Library from the iPad back to iTunes.
    There are third-party Windows applications that will transfer data from an iOS device, but they don't re-create the iTunes Library exactly as it was before.

  • I have an Apple TV . My husband has an I-pad 2  and I Have an I-Pad 3. When my I-Pad 3 is used we have no problems. However when we try to use my husbands I-Pad 2 video mirrioing lags behind  for minutes. We checked settings and both I-pads are the same.

    I have an Apple TV . My husband has an I-pad 2  and I Have an I-Pad 3. When my I-Pad 3 is used we have no problems. However when we try to use my husbands I-Pad 2 video mirrioing lags behind  for minutes. We checked settings and both I-pads are the same. What can one do to use the I-Pad 2 without any mirroring lag. Thank you All in advance.

    try restarting
    both ipad http://support.apple.com/kb/ht1430
    and atv
    restarting ios devices cure 80% of all troubles users have

  • I have a problem with itunes when I sync the saved music and want to sync my iphone 5 ios 7.0.6 no longer passes the music thing is that just stays on "waiting for sync" and not worry please help are more than 400 songs that do not want to hear who are wi

    I have a problem with itunes when I sync the saved music and want to sync my iphone 5 ios 7.0.6 no longer passes the music thing is that just stays on "waiting for sync" and not worry please help are more than 400 songs that do not want to hear who are wi

    Plawexki wrote:
    ...  do you know if the contacts, photos, messages etc will be wiped?
    Yes... Everything will be Wiped and Replaced with what is currently on Your Mac.
    SYNCING with iTunes
    See here  >  http://support.apple.com/kb/HT1386
    From Here  >  http://www.apple.com/support/iphone/syncing/
    You may find this information of interest...
    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • Computer AND iTunes don't recognize my iPod touch.  Comp thinks it is a camera.  iTunes won't bring up devices at all.  I've already uninstalled iTunes and QT and reinstalled after problem that happened when I updated iTunes... getting beyond P/Oed!!!

    Computer AND iTunes don't recognize my iPod touch.  Comp thinks it is a camera or something.  iTunes won't bring up devices at all.  I've already uninstalled iTunes and QT and reinstalled after problem that happened when I updated iTunes - updated iTunes completely demolished my computer's ability to recognize the sound card and computer had NO sound at all.  I had to uninstall iTunes, QT, AND my sound card and reinstall them all.  Sound worked fine, but now I can't sync my iPod.  Computer recognizes that "something" is hooked up (thinks it might possibly be a camera) and I get that "open with" window.  In "my computer" it shows that there is an "iPod" connected, but it is pictured as a camera.  In iTunes my username is no longer appearing (although account info is there) and NO devices whatsoever get listed.  There is nothing wrong with my USB ports or cable.  And of course Apple won't help anyone unless you pay them to. ... I am getting beyond P/Oed!!!  You pay hundreds for a product and all you get are headaches with their stupid bug infested software and no support at all.
    Can anyone out there help me clean up this unbelievable mess Apple and iTunes has created in my computer?
    Thank you.
    Evie

    After three completely wasted days trying to figure all of this out I finally got it fixed - on my own - by reading dozens and dozens of rogue posts in indie forums from people that refuse to dish out money to have a company TRY and advise possible fixes on their own glitches.
    (here's a novel idea - fix the glitches Apple.  Or - don't send out updates filled with bugs in the first place)
    Everything (several applications) had to be uninstalled in a very specific order and then restarted , then it all had to be verified with manual deletions of leftovers, and emptying the recycle bin, then another restart, then iT had to be reinstalled again and the system restarted again, and two more update downloads. Holy!!!
    I love my little iPod touch, but I honestly must say, when this kind of thing happens (and it has several times now when I try to deal with iTunes or Apple), it makes me want to flush it down the toilet.

  • Problems with navigation when deploy application on WebLogic 10.3

    Hi! I have problems with navigation when I deploy my application on Weblogic server 10.3. In my application I have two pages. One page where I can see the records. In this page I have button Create with action to secound jspx page. When I press this button then the first form (where I could see all records) is empty - the create operation worked, but navigation to second page not. Navigation rules is in adf task flow. In default server all works correct. Where is the problem?
    Maybe when I deploy my application I need specialy deploy adf task flow or somewhere write something? If so, then can you explain me where? Any suggestions what to do.
    Best regards!

    I have in log:
    2009.26.3 20:12:52 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImp
    l setLifecycleContextBuilder
    WARNING: ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfi
    nternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    2009.26.3 20:12:52 oracle.adfinternal.controller.util.model.AdfmInterface initia
    lize
    INFO: ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
    2009.26.3 20:12:52 oracle.adfinternal.controller.metadata.provider.MdsMetadataRe
    sourceProvider <init>
    INFO: ADFc: Controller caching of MDS metadata resources ENABLED.
    2009.26.3 20:12:52 oracle.adf.controller.internal.metadata.MetadataService$Boots
    trap add
    INFO: ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
    2009.26.3 20:12:54 oracle.adf.share.security.providers.jps.CSFCredentialStore fe
    tchCredential
    WARNING: Unable to locate the credential for key AUGI in D:\bea\user_projects\do
    mains\base_domain\config\oracle.
    2009.26.3 20:12:54 oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResult
    Exception
    WARNING: Incomplete connection information
    Edited by: Debuger on Mar 26, 2009 11:18 AM

  • I bought my iPhone 4s in the Uk and then brought to Cyprus where I live. I used Siri to call my husband 2 days ago without problem but now when I try to use Siri it won't call any local Cypriot number but will call my Uk contacts. Help please

    I bought my iPhone 4s in the Uk and then brought to Cyprus where I live. I used Siri to call my husband 2 days ago without problem but now when I try to use Siri it won't call any local Cypriot number but will call my Uk contacts. I can call the same numbers manually so it's not my network. Any help would be appreciated.

    This sounds like an international issue? Although I can not see why? I brought my phone in Australia and operating it in Indonesia, I have the same issues.... Otherwise Siri works fine, even texting (SMS) to local numbers siri works well, but dialing local number it just wont work...! I will try using my Australian SIM card and see if that is the reason.. I tried changing the number in the contacts and took out the international prefix, I turned the international assist on and off still nothing.. How frustrating. I called apple, the technican had know idea and we to his supervisor, had to wait fro 40 miuntes and then I hung up..
    PLEASE HELP..!

  • I can use Mail at home, no problem. But when I travel, I can receive mail but not send it. I get a "server can't be reached" message. Yet when I send a photo using iPhoto, it gets sent. Help!!

    I can use Mail at home, no problem. But when I travel, I can receive mail but not send it. I get a "server can't be reached" message. Yet when I send a photo using iPhoto, it gets sent. Help!!

    To diagnose problems with Thunderbird, try the following:
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

Maybe you are looking for