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

Re: getValueState for all elements on a page....

$
0
0

I think the best way is using jQuery.

If you are using sap.m.TimePicker, you can get all of TimePicker at one screen.

Here is a example.

 

var $timepicker = $(".sapMTimePicker");

for(var i=0;i<$timepicker.length;i++){

   var oUI5TimePicker = sap.ui.getCore().byId($timepicker[i].id);

   var sStatus = oUI5TimePicker.getValueState();

}


Viewing all articles
Browse latest Browse all 3575

Trending Articles



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