Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8538

Re: how to delete a row which in binded with a model?

$
0
0

hi,

i have json model and i tried that method,but it doesn't affect in model.


code :

var tableIndex = sap.ui.getCore().byId("print_table").getSelectedIndex();

  var context = sap.ui.getCore().byId("print_table").getContextByIndex(tableIndex);

  Bind_model.destroyBindingContext(context);

  Bind_model.refresh(true);

 

is this the correct method?

do i need to do something else?


Viewing all articles
Browse latest Browse all 8538

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>