Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

How to Change the Value of a Colum dynamically in binded table

$
0
0

Hi All Seniors and Experts,

 

I hava a little issue in my one program. I have a table which posses the detail lines of an order, I fill this table when user enter the order number in a textfiled, as soon as user enters order number in that field its sapenter event gets fired and in that event i am binding the table with a service method which takes order number as a parameter and return the list of items along with other relavent fields.

Now in the second part i need to issue any item, the issue process is associated with a barcode, user can swap any barcode, program will search the associated item in the table and add the value 1 in the issue column. At runtime the value is being change but as soon as method get finished it has its old value not the 1 which i added in my event. I think its because of model, table view which is associated with a model refetches its old data as soon as it render again. I want to update the value in the model and i dont know how to do it. please put some light how i can change the value with in the model.

 

Regards

-S


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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