Hello,
Many thanks it is very close to my requirement. But couldn't solve my problem reason this is dealing with sapMCb but my thing can be controlled by sapMCbBg. So when I am using that I am able to get the correct ID which I want to attach my custom style but unfortunately sap.ui.getCore() returns nothing!
I am wondering why? sap.ui.getCore() is at the base level and should return the context of the selected check box.
So still need your help.
Many Thanks!