Tree table is not reflecting the updated model data changes at the front end

I have two tables ,
1) Provider table(tree table)  2)member table
I have implemented drag and drop functionality using jQuery UI on both tables.
In my scenario when I drag a member from the member table and drop it on the Provider table and also when I delete an assigned member from the provider table I will update the data fetched from odata model and again I will call the method which binds the data to the provider table so that the table will reflect the changes.
here is the code,
on drop:
$("#Provider tbody tr").droppable({
  drop: function(event){
       oController.AssignMember(oProviderId, oMemberId)
  }).disableSelection();
Assign member function:   here am updating the model.
AssignMember : function(oProviderId, oMemberId){
  var oModel = new sap.ui.model.odata.ODataModel("../../../services/provider.xsodata/", true);
  var oParameters = {};
  oParameters.PROVIDER_ID = oProviderId;
  oParameters.MEMBER_ID = oMemberId;
  oParameters.CREATED_ON = new Date();
  oModel.setHeaders({"content-type" : "application/json;charset=utf-8"});
  oModel.create( "/PROVIDERMEMBERS", oParameters, null, function() {
  var oController = sap.ui.controller("adsm.provider.member_assignment_view");
  oController.GetProviderData();
  },function(jqXHR) {
  var errorMessage = jqXHR.response.body;
  var jsondata = JSON.parse(errorMessage);
  sap.ui.commons.MessageBox.alert(jsondata.error.message.value);
GetProviderData function: here i bind the data to the table
GetProviderData: function(){
var oModel = new sap.ui.model.odata.ODataModel("../../../services/provider.xsodata/", true);
var Context = "/PROVIDERS?expand=ASSIGNEDMEMBERS&$select=NAME,ID,ASSIGNEDMEMBERS/NAME,ASSIGNEDMEMBERS/ID,ASSIGNEDMEMBERS/PROVIDER_ID";
  var oTable = sap.ui.getCore().byId("tblProviders");
  oModel.read(Context, null, null, true, onSuccess, onError);
  function onSuccess(oEventdata){
  var outputJson = {};
  var p = 0;
  var r = {};
  if (oEventdata) {
  r = oEventdata;
  try {
  if (oEventdata.d){
  r = oEventdata.d;
  } catch(e){
  //alert('oEventdata.d failed');
  try {
  if (oEventdata.d.results){
  r = oEventdata.d.results;
  } catch(e){
  //alert('oEventdata.d.results failed');
  try {
  if (oEventdata.results){
  r = oEventdata.results;
  } catch(e){
  //alert('oEventdata.results failed');
  $.each(r, function(i, j) {
  outputJson[p] = {};
  outputJson[p]["NAME"] = j.NAME;
  outputJson[p]["ID"] = j.ID;
  outputJson[p]["PROVIDER_ID"] = j.ID;
  outputJson[p]["DELETE"] = 0;
  var m = 0;
  if (j.ASSIGNEDMEMBERS.results.length > 0) {
  $.each(j.ASSIGNEDMEMBERS.results, function(a,b) {
  outputJson[p][m] = { NAME: b.NAME,
  ID : b.ID,
  PROVIDER_ID: b.PROVIDER_ID,
  DELETE: 1};
  m++;
  p++;
var oModel = new sap.ui.model.json.JSONModel();
  oModel.setData(outputJson);
  oTable.setModel(oModel);
  function onError(oEvent){
  console.log("Error on Provider Members");
oTable.bindRows({
  path:"/"
Its working fine in chrome but in IE the model data gets updated but the table is not reflecting the changes at front end.Can anyone suggest me a possible solution to fix this?
Please have a look at the attached screen shots.
Best regards,
Amala Suganya.

Hi Amala,
I think this will help you:
Disabling Cache for CRUD/FI OData scenarios for a UI5 Application on Internet Explorer
Kind regards,
RW

Similar Messages

  • Solved af:table is not refreshed with updated MBean data from list even

    Hi,
    I have a af:table which gets its data from a Managed Bean List type varaiable.
    My table hav one lov as a row item.
    When i change the lov in each row... a new row should get added to the table.
    So in the value change listener of the selectOneChoice i added one element to the list.
    Enabled PPR on table.
    But table is not getting refreshed until i click on some button or link.
    Thanks
    Murali
    Message was edited by:
    Murali Chepuri

    Solved after adding partialtarget in ValueChangeListener.
    Thanks
    Murali

  • When I updated to the latest IOS last night, why did the photo events date change?

    When I updated to the latest IOS last night, why did the photo events date change?

    The problem is that the Add-ons Manager tab when opened the first time, is on "Get Add-ons" section and that must be downloaded from the Add-ons server which might be overburdened.
    * If you need to look for new Add-ons, go directly to the Add-ons site -> https://addons.mozilla.org/en-US/firefox/
    Perform the suggestions mentioned in the following articles:
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache/ Clear Cookies & Cache]
    * [[Add-ons are disabled after updating Firefox#w_check-for-new-versions-of-your-add-ons|Check for New versions of your Add-ons]]
    Check and tell if its working.
    Not related to your problem but some of your Plugins are out-dated
    * Update All your Firefox Plugins -> [https://www.mozilla.org/en-US/plugincheck/]
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''

  • Data Change in the Infoprovider-Process Chain

    Hello Friends,
                       I want to broadcast the Queries and Workbooks periodically.I want to automate the process.For this i came to know that we have to  select the EXECUTION WITH DATA CHANGE IN THE INFOPROVIDER TRIGGERED BY A PROCESS button.Can u please guide me how to do it successfully.
    Thanks
    Mohan Chand Reddy A

    Hi Mohan,
    You can achieve this using process type in Process chain creation.
    In the below links you will find step by step procedure to create this in process chain
    http://help.sap.com/saphelp_nw70/helpdata/en/ec/0d0e405c538f5ce10000000a155106/frameset.htm
    http://www.tli-usa.com/download/Taking_Charge_of_Information_Broadcasting_in_BI_7%5B1%5D.0_for_improved_report_and_data_distribution.pdf
    Regards,
    Venkatesh

  • ADF Tree table is not exapanding

    Hi all,
    I have to implement an ADF tree table along with a form. I have three Views,
    two of the views are used to populate the Tree table, And one of the view used in the Tree population is used to manipualte the form,
    And the third one is to populate a table. And I have a Popup call button in the same panelCollection where the tree table is placed
    I am facing two issues with the the tree table.
    1. The tree table is not expanding, if I click on the '+' on the node it won't expand and it will show me small circle which is trying to open the node.
    But if I click on the Popup button and cancel(RollBack) the popup and come to the node, it will exapand. I don't kow why it is....
    2. As I said I have a Form and I have to populate the form based on the selection in the tree table nodes, the form filed is same as that of the view used to populate the Tree table view.
    But when i click on the tree table nodes it is not chaning the record according to the selection in the tree nodes. But in a master Detail form it is working fine. It is always pointing to the first record.
    Please help.....

    No vinod, I am not getting any kind of exceptions..
    And mY tree table is
    <af:treeTable value="#{bindings.TestVO.treeModel}"
    var="node"
    selectionListener="#{backingBeanScope.TestBean.TreeTableSelectionListener}"
    rowSelection="single" id="tt1"
    columnStretching="column:c1" contentDelivery="immediate"
    binding="#{backingBeanScope.TestBean.tt1}">
    <f:facet name="nodeStamp">
    <af:column id="c1">
    <af:panelGroupLayout id="pgl15">
    <af:outputText value="#{node.SubtaskDesc}" id="ot1"/>
    <af:outputText value="#{node.HazardDesc}" id="ot4"/>
    </af:panelGroupLayout>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node}" id="ot2"/>
    </f:facet>
    <af:column id="c2">
    <af:outputText value="#{node.MaxRiskRating}" id="ot3"/>
    </af:column>
    </af:treeTable>
    Edited by: Ranjith C on Jul 18, 2011 6:21 AM

  • HT4528 I went to Update my I phone (4)  and It was updating then said it could not finish the update left my phone on the black  apple  after 40 mins  went to recovery mode .. it said restore it but everytime I try  it  said error 18 what can i do

    pretty much what the  title said
    I went to Update my I phone (4)  and It was updating then said it could not finish the update left my phone on the black  apple  after 40 mins  went to recovery mode .. it said restore it but everytime I try  it  said error 18 what can i do? 

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased. Some glitch occured and you have to restore/erse the iPod. Y will have to restore from an existing backup if y ohave one.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • Getting "We could not complete your update. Failed to verify the preflight file..."

    getting "We could not complete your update.  Failed to verify the preflight file.  It is not signed by Apple."  message when trying to update Apps via the App Store.  Get similar message for download of a free app.   Console message is:10/23/13 2:00:27.610 PM storeagent[310]: *** Assertion failure in -[ISCheckPreflightOperation verifyDistributionAtURL:allowsDevSign:allowsUnsigned:osVersionToBeInstalled:err or:distributionController:], /SourceCache/Pisa/Pisa-232/ISCheckPreflightOperation.m:314
    Any ideas?

    Similar threads solve this problem by either creating a new administrator identity, which allows one to update applications, or changing the keychain prefs to Best attempt.  My issue was solved by adding a new admin user, and then updating the apps from the App store using the new identity.  Under my orginal user identity the keychain app would crash when I attempted to open Prefs.  After creating a new identity and updating the applications (iPhoto, etc) I found I was able to open the keychain Prefs logged into my orginal identity.

  • How can I re-set the App Store so the Updates will again appear under the Updates tab?

    Hi,
    I am running a Macbook Pro (retina). Lately when I launch App Store and click on Updates the software updates for the software on the Macbook do not show up under the Updates tab. However, when I go to the Purchased tab I see there Update buttons next to programs that have updates ready to download.
    How can I re-set the App Store so the Updates will again appear under the Updates tab?
    Many Thanks,
    David

    Wanna know this too

  • Will apple next update to help fix the location following data problems will the ipod touch 2g be included ?

    will apple next update to help fix the location following data problems will the ipod touch 2g be included ?

    Chances are the 2g itouch will not be included in the update. Also no one yet knows if it will be fixed in the next firmware but apple has said they know of this bug.

  • Hi,  I had an update massage for a wile on my phone and yesterday I decided to do the update and so I downloaded the soft w. and started to install but in the middle of the process the phone got stocked and said to connect to iTunes and so i did it a

    Hi,
    I had an update massage for a wile on my phone and yesterday I decided to do the update and so I downloaded the soft w. and started to install but in the middle of the process the phone got stocked and said to connect to iTunes and so i did it and again the process gets interrupted first saying "the software on Iphone needs to be restored to factory settings or update" and so i do it..then it comes the message the an error -39 and I can not do it and it says that I need to restore..and so I do it..but its a circle and it never ends..and I have no phone since yesterday.. all my contacts, my work..
    Can any one help please?

    Hi
    A little information will be of a great help, witch iPhone did you upgrade, memory , and version of software ( iOS 8.x.x )?
    Try restarting you iPhone and make sure you have a god internet connection , get as close to your wifi router (1-3 meter / 2-9 feet ) as possible. Don't use restore to factory  settings before you tried other options .  And most imported du you have an iCloud backup.
    //Sorenc

  • AR Down Payment Invoice Does Not Reflect in BP Master Data...

    We have placed a sales order for a BP. 
    We select payment means and accept the payment
      In the background a AP Down Payment Invoice is created
    When we view the BP master data - the account ballance window does NOT reflect this "down payment"
    If we select the golden arrow at account ballance, uncheck "reconciled transactions" you can see the payment and AP down payment and they clear each other out.
    The problem is that when the final invoice is created it is not obvious that a down payment has been received.  Even if you are simply working at the BP master data window, it is not obvious that a down payment has been received. I belive our process is correct because If you click the TDP box, the payment is listed and will be applied to the final invoice.
    It simply does not alert the user that a payment had been received. 
    What are we doing wrong?????\
    Thank you!
    Edited by: Andrew Bleier on Feb 4, 2009 1:27 AM

    Keith Taylor
    You are right this feature is only available in Version 2007A.  There account posting happen purely due to the pay SAP has been designed and the configuration of GL Accounts.
    To make fundametal change to the core product is very difficult if you explain me your business process exactly as you do, I could think of alternatives.
    Please let know.
    Suda

  • I updated to ios 8.3 and i hate it! Is there a way i can uninstall the update and go back to the one before this?

    I updated to ios 8.3 and i hate it! Is there a way i can uninstall the update and go back to the one before this?

    I'm sorry, but Apple does not provide a downgrade path for iOS. Because downgrading is unsupported by Apple we cannot discuss it on these forums.
    You may leave comments at Apple Feedback.

  • I updated my Iphone4 and had the m.calendar app with all of my daily temperatures saved, since the update after even after synching the iphone to itunes I have lost months of tracking I am devastated!! can anyone help get it back

    I updated my Iphone4 and had the m.calendar app with all of my daily temperatures saved, since the update after even after synching the iphone to itunes I have lost months of tracking I am devastated!! can anyone help get it back

    I don't understand this answer. What do you mean " your contacts should be in whatever program/service you have selected to sync."? The address book is created on the phone not in Itunes or any other program/service. When Itunes says backing up phone I have to assume it backs up everything on the phone. Most of what's on my phone does not come out of itunes. I download apps directly on the phone. When the software updates it does not bring those apps back. I have to go into the appstore and install them all over again. Itunes music library syncs with whatever is on the device your linked up to BUT the phone book just dissappears after you update the phone. There is no way to save it anywhere else.

  • TS4062 I'm trying to sync my ipad over wifi, with my MAC, I have the updated software on my MAC, the ipad is up to dat 6.1.2.  I can follow all of the steps, but I can't find a SUMMARY button on the toolbar, nor do I receive the option to sync.  Whats wro

    I'm trying to sync my ipad over wifi, with my MAC, I have the updated software on my MAC, the ipad is up to dat 6.1.2.  I can follow all of the steps, but I can't find a SUMMARY button on the toolbar, nor do I receive the option to sync.  What am I doing wrong or what should I look for?  Thank You

    To sync your iPad over Wifi:
    First ensure you're running iTunes 11.0.2. And you already have your iPad up to date, good.
    Plug your iPad into the Mac via USB. Click your iPad in the top toolbar (under the search bar). Click the Summary tab if it isn't already selected. Check the box to "Sync with this iPad over Wi-Fi" (you may have to scroll down to see it). And now click the Apply button at the bottom right.
    You should be able to unplug your iPad from the Mac and it should still remain in iTunes. (If not, try Quitting and relaunching iTunes and waiting, restarting iPad, etc).
    To initiate a sync over Wifi, click your iPad in the toolbar in iTunes then click Sync. Or on your iPad, go to Settings > General > iTunes Wifi Sync and tap "Sync Now."
    If this didn't solve your problem, please let me know with a more detailed explanation of what you're experiencing so I can try to help you get up and syncing wirelessly!

  • After the update to Lightroom 5.7, the profile of my lenses have disappeared in the camera calibration, how can I import them again because I gave you mine Extra gespeicher. I'm working on a PC.

    After the update to Lightroom 5.7, the profile of my lenses have disappeared in the camera calibration, how can I import them again because I gave you mine Extra gespeicher. I'm working on a PC.

    Can we see a screenshot that includes the filename you're viewing with its extension and the camera Make list?
    What is almost always the case when someone says they are missing most of their lens profiles is that their current image is not a raw file.  It doesn't matter whether you shoot raw, it matters what the current images is.  Maybe it is an exported JPG or a Edit-In-whatever result file that's a TIF or PSD or JPG. 
    Here are examples of the screenshot that I'm asking for:
    Raw files show 24 items in the Make list:
    While non-raw files have only 9 items + None in the Make list:

Maybe you are looking for

  • Oracle 11g DB installation failed when checking Prerequisite.

    Hi, I am installing Oracle 11g DB in linux box using the shiphome "/net/stlinma7.us.oracle.com/vol/shiphomes_linux/rdbms/11.1.0/11.1.0.2/11102-BETA3". During installation process when i get "Product-Specific Prerequisite Checks" wizard screen, I am g

  • Problem in printing copy count in the smartform printout

    Hi, I have created a smartform with a single page. I will be printing this form n number of times. For this i have used "TDCOPIES" option while calling the function module generated. Let me say that i am printing it twice. My problem is while printin

  • Stopping tiling in a table background image

    I'm trying to stop the tiling of the background image within a table in Dreamweaver 8. It seems to be different then "no-repeat" for the general background. Was hoping someone could help me out. Thanks.

  • Another case of phone in recovery mode after ios6 install

    I see that many others are having the same problem. What do I do to fix it? I get the picture telling me to connect to itunes and when I do I'm told that the phone is in recovery mode and must be restored. itunes is currently downloading the ios 6 so

  • Tweetie 2

    I see that in the App Store what used to be Tweetie is now Tweetie 2 with a small price tag of $2.99 That's not alot but why not an upgrade for Tweetie? It is a great APP but I'm worried this may become the norm for makers of great apps; don't upgrad