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

Re: Radio button vs radio button group

$
0
0

HI Denis,

 

Thanks but I've some MVC and I before I have radio button that call to the controller in select and selected property (I 've formater ....) ,how should I do that in MVC and formatter ?

 

Thanks In advance!

 

This is what I've before and I need to change to radio button group

you see that in the select I call to the controller for method set option and I have also formater...

 

new sap.ui.commons.RadioButton({

  text: "rb1",

  select: function(e) {

  oController.setOption(e, "wiPre");

  },

  selected: {

  path: "/preMode",

  formatter: function(o) {

  return (o === "wiPreview");

  }

  }

 

 

  }),

new sap.ui.commons.RadioButton({

  text: "rb2",

  select: function(e) {

  oController.setOption(e, "wiPre");

  },

  selected: {

  path: "/preMode",

  formatter: function(o) {

  return (o === "wiPre");

  }

  }

  }),


Viewing all articles
Browse latest Browse all 9052

Trending Articles



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