How to remove/change a binding correctly?

Hey,
I'm trying to remove an aggregation binding of a table, because I want to set another one on it.
I need something like this:
if ( mytable.isBound())
mytable.unbindRows()
mytable.bindRows()
... but istBound() returns always "false", although it is bound and data are shown. The new binding is working well, but I think the old Binding remains at the model -> which causes (old) requests on a refresh.
What is generally the correct way to call ".bindRows()" many times, without getting too many old requests?
Or how can I remove a Binding totally from my model?
Thanks and greetings,
Joerg

Hi Jörg,
it seems you have to use the setModel() method also for removing a binding.
Take a look at the documentation.
setModel(oModel, sName?) : sap.ui.base.ManagedObject
  Sets or unsets a model for the given model name for this ManagedObject.
The sName must either be undefined (or omitted) or a non-empty string. When the name is omitted, the default model is set/unset.
So, this call should remove the previously bound model:
myTable.setModel();
Greets,
ben

Similar Messages

  • How can I change reinstall to correct product key?

    Had to wipe drive and reinstall operating system. When I reinstalled Office for Mac, I used the wrong product key (from another computer). How can I change reinstall to correct product key?

    Try completely removing MS Office and then reinstalling it.
    How to completely remove Office for Mac 2011
    http://support.microsoft.com/kb/2398768
    Or you can try doing just step 4 (removing the license file).

  • How can I change my auto-correction language from english to french?

    My system language is english, so all the default language is also in english
    but how can I change the auto-correction language from english to french and without changing the menu language?
    Message was edited by: Marixomia

    It's just, I want to change my spelling checker from english to french, that when I type some words in wrong order or miss some, I can know that.
    For now, when I type in french, almost every words are underlined by the red lines...

  • I have the wrong email address in ICloud. How can I change to the correct email address?

    I have the wrong email address in ICloud. How can I change to the correct email address?

    I have the same problem. I changed my email address with itunes, & the icloud website knows it too. but the icloud on my iphone still has the old one & wont allow me to change it. I can change the password but the email address is grayed out so I can't change it. I have tried signing out via the store on my phone & back in but it made no difference. Help!! I keep getting error messages about the photo stream ..but I don't know what I can do to correct it. HELP!!!

  • How to remove 'Change to Text Mode' link on 'richTextEditor' item

    Hi,
    Now I'm using 'richTextEditor' item on my page. But above it, there is a link named 'Change to Text Mode'. How can I remove it? From profile, if I change the profile, it will be Text Mode only. But I want to use rich text mode, not use text mode. So I want to remove the link 'Change to Text Mode'. But it seems it is with the text box together.
    Please help.
    Regards,
    Eileen

    // Get your bean
    OAMessageRichTextEditorBean bean = (OAMessageRichTextEditorBean)webBean.findChildRecursive("YourMessageRichTextEditorBean");
    // Set to be plain text mode
    bean.setRenderingMode(OAMessageRichTextEditorBean.TEXT_MODE);
    // Remove the "Switch to Rich Text" hyperlink
    bean.setAttributeValue(OAMessageRichTextEditorBean.SWITCH_MODE_HYPERLINK_ATTR, BooleanUtils.getBoolean(false));
    Edited by: asnow_au on Jan 9, 2009 3:37 PM

  • How to remove representation of grammar correction of text (FM read_text)?

    Hi ABAP Gurus,
    I am working on a program that downloads data to Excel.
    The data comes from the text using the FM read_text.
    I tried to look at the data and it contains grammatical error like no spaces are provided after end of each sentence.
    When I tried to view it, an ampersand sign (#) appeared in between of those words. See sample below:
    This account should be used to hold the Raw Material related variances within Finished Product Variances.#This Account is being set-up as open item managed account to support the global requirement.
    If you notice, the correct grammar entails us that there should be spaces after period (.) of the 'Variances' before the 'This' word. As a result when viewing such text, an ampersand appeared  using the old editor though the ampersand sign did not appear using the new text editor.
    My case then is to remove the such appearance of ampersand but I cannot remove it since the abap code cannot determine it  as a character.
    It helps me conclude then  that the ampersand sign that appeared in representation of grammar check (usually words are highlighted in red)  is not really a character. It is the representation of that crooked red line during grammar chek of the text.
    I have to get rid of that ampersand since I am downloading the data to excel, otherwise it causes the data to move to another row in excel file.
    Please help me.
    Thank you.
    Regards,
    Onyx

    What I have had to do, in one similar instance, is find the special characters that were being 'pasted in' by someone who was copying and pasting from a desktop file that had oddball hex characters in it...Here's the approach I took (to the best of my memory).
    Look in debug and identify the hex value of the characters...
    Turn off the unicode switch in porgram attributes, so you can declare type x.
    Set fields like this: 
    lc_hex1 type x value '09'.  "1 character hex field...put in the bad hex value you saw in debug...
    declare as many of these constants as you need....
    then ....
    field-symbols <fs> type tline.
    loop at itxt assigning <fs>.
    if <fs> is assigned.
    replace all occurrences of lc_hex1 with space into <fs>-tdline.
    replace all occurrences of ... with space into <fs>-tdline.  "as many times as needed for each "bad" character.
    condense <fs>-tdline.  "squeeze all the extra spaces out
    endif.
    endloop.
    Then you might want to call something like RKD_WORD_WRAP to reformat to the length you'd like, breaking on word (space) boundardies.
    Edited by: BreakPoint on Jun 25, 2010 8:15 PM  ... use replace all occurrences instead of do...enddo.

  • How to remove/change printer in Important Modified Prefs; stays as default

    Old printer (Samsung, listed in my Important Modified Preferences in Troubleshooting) will not allow new printer to be Default printer. No matter what I do. I've followed the instructions here in FF Help re about:config & reset and others too. Is this something to do with FF? I've tried to find & delete the old printer all over my laptop, but it stays there like a bad penny as the default anyway. Is there a way to get rid of it by changing a code or something? Never had this problem before. I would appreciate any help you can give me. Kindest regards.

    That dark-blue highlighted file '''is''' the prefs.js file!
    Do '''{ Ctrl + P }''' to open the "native print dialog" and up at the top where it says Printer > Name - select the other printer. Then proceed to printing a page from the dialog box. Now the "default" printer in Firefox is changed.

  • HT5312 my icloud has wrong email address so wont let me sign in ,how do i change this to correct one

    icloud email log in is an old incorrect one but wont let me change it ,to do a restore

    Christian,
    You are seeing the result of Preferences>Type>Highlight Substituted Fonts
    You must have at least one missing font, so there is something to sort out.
    In other words, Illy is kindly trying to tell you that you are not looking at the font you think you are looking at. She is always very helpful.

  • How to remove an arc correctly?

    Can someone explain how to remove an ARC relation correctly?
    Deleted the arc in the logical model but when I do an "engineer to relational model" the ARC is not removed there.

    I'm afraid there is a problem that Engineer to Relational Model does not detect that an arc has been removed.
    Until this is fixed, you will need to remove the arc in the Relational Model as well.
    David

  • How do I change a right bound document to left bound without having the Middle Eastern software?

    I received a bilingual file from a client (Hebrew and English). I need to remove the Hebrew pages and leave the English. My problem is the pages are still set up to read right to left (right bound) and every fix I find seems to only be supported if I am using the Middle Eastern version of InDesign, which I am not. How can I change the binding direction in my English InDesign CS6 version?

    Help! Ok, I have just tried to make a script, and opened my script editor, and pasted in this line.
    When I hit run though, it says:
    Syntax Error
    Expected expression, property or key form, etc. but found unknown token
    What does this mean? And how can I fix it?

  • HT204379 How do I change the small photo that appears in the password prompt box when logging in to my iMac?

    Hi,
    I hope someone can help me over a triffling but irritating matter. My son has somehow put a pic of himself - I think taken from the photobooth -  in the password login box and I want to remove it but I can't find how to do it in system preferences. This happened to me when I first got my mac 2 yers ago, but I can't for the life of me remember how I removed/changed the samll personal pic.  Wouldbe most grateful if anyone could advise me!  Many thanks.

  • Dynamically change the Binding of a view object

    I want to reuse a panel several times in my application. The VO has one bind parameter (:1). The same panel should be reused several times with different bind variables.
    I found a technical note concerning this issue called: How to Dynamically Change the binding of a View Object to a JClient Panel. This works for JDeveloper 9i but not for JDeveloper 19g. Does anybody know how to dynamically change the binding in JDeveloper 10g

    You may use bindRowSetIterator() and pass in a custom fetched ViewObject or a RowSetIterator to the iterator binding that is displayed in your panel.

  • How can i change all the purple links in safari back to blue

    I am having trouble figuring out how to change the links ive visited in safari back to blue. I have turned on PRIVATE so now my links dont turn purple onces ive visited the webpage but i can't figure out how to remove/change the already visited sites from purple back to blue! help me pleaseeee xx

    OK.
    Go to SAFARI tab from the safari menu and "reset Safari"
    You can keep your passwords, just uncheck that option.
    once done that, quit Safari, here is the trick. CLosing the Safari Window doesn't quit the app, to quit it you can either go to "safari" tab on the safari menu and Quit safari or  press control key on the keyboard and click on the safari app and quit. that will erase those purple highlighted links

  • How do i change my security question? I tried to buy music on itunes and it asked for verification i can not answer the security questions correctly

    How do i change my security question? I tried to buy music on itunes and it asked for verification i can not answer the security questions correctly...

    Reset Security Questions
    Frequently asked questions about Apple ID
    Manage My Apple ID
    Or you can email iTunes Support at iTunes Store Support.
    If all else fails:
      1. Go to: Apple Express Lane;
      2. Under Product Categories choose iTunes;
      3. Then choose iTunes Store;
      4. Then choose Account Management;
      5. Now choose iTunes Store Security and answer the bullet questions, then click
          Continue;
      6. Sign in with your Apple ID and press Continue;
      7. Under Contact Options fill out the information and advise iTunes that you would
          like your security/challenge questions reset;
      8. Click Send/Continue.
    You should get a response within 24 hours by email.
    In the event you are unsuccessful then contact AppleCare - Contacting Apple for support and service.
    Another user had success doing the following:
    I got some help from an apple assistant on the phone. It is kind of round about way to get in.
    Here is what he said to do and it is working for me...
      a. on the device that is asking you for the security questions go to "settings", > "store" >
          tap the Apple ID and choose view"Apple ID" and sign in.
      b. Tap on payment information and add a credit/debit card of your preference then select
          "done", in the upper right corner
      c. sign out and back into iTunes on the device by going to "settings"> "store" > tap the
          Apple ID and choose "sign-out" > Tap "sign -in" > "use existing Apple ID" and you
          should be asked to verify your security code for the credit /debit card and NOT the
          security questions.
      d. At this time you can remove the card by going back in to edit the payment info and
          selecting "none" as the card type then saving the changes by selecting "done". You
          should now be able to use your iTunes store credit without answering the security
          questions.
    It's working for me ...I just have to put in my 3 digit security pin from the credit card I am using.
    Good Luck friends!

  • How to remove account balance so that i can change countries

    How to remove account balance so that i can change countries

    Click here and ask the iTunes Store staff to zero your account balance.
    (114163)

Maybe you are looking for

  • How to change & see the PO Status (Purchase Order Status) ?

    Hi Everybody, I have to change the PO Status. For this I am using the Function Module 'BBP_PD_PO_STATUS_CHANGE'. But it is not changing the PO Status. How/Where to see the PO Status? Please help me out asap. Thanks & Regrds, Nagaraju Maddi Message wa

  • Scuff on MacBook Pro (Late 2006) non-glare screen

    My otherwise pristine MacBook Pro (Late 2006 model, 2.33GhZ C2D) has developed a 1/4-inch scuff right in the middle of the screen. Small, but highly distracting, particularly when the area beneath it is white. Can anyone recommend a product to minimi

  • Copying iphoto titles to backup drive

    i've used the batch change function in iphoto to name and number a series of photos, but when i copy them to my external hard drive for a backup, the titles don't copy; i just have a string of IMG titles and no way of telling which photo is which. ho

  • Symbol animation restrictions

    In connection with another question I asked earlier which I've been trying to solve whilst waiting for help, I've found another 2 possibly related problems: I have a symbol, which I animate from 0% scale up to about 110% and then back to 100%. this m

  • Isight camer gives green screen in photo booth, black in ichat.

    imac g5 insight   Mac OS X (10.4.6)