Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Re: Altering invisible Rows in a Table

$
0
0

Hi,

there is an alternative way you might want to take a look at. You simply change the value of the property "checked" in your JSON model and update the bindings. Here is how the changed coding for the last part of the event handler of the button:

 

for(var i = 0; i < data.length; i++){
 data[i].checked = isChecked;
};
oModel.updateBindings();

The model "DataContModel" and the coding to determine the Row Count can be skipped here.

Regards, Frank


Viewing all articles
Browse latest Browse all 8124

Trending Articles



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