Important! A new Community experience launched on September 26, 2017. Read more about it here or continue to Base Camp.
Vote up!
0 Votes
2 Replies

Image 'clicked' in Segment widget

Humberto Trinh on Feb 21, 2017 03:28 EST

Posted In
Kony Answered Certificate
Vote up!
0 votes
Vote down!

I think this can be achieved using context. 

function frmName_onclickImageButton(context){
      var selecteditem = context.widgetInfo.selectedRowItems[0];


First you have to create the function like the example above. Then in the onTouchEnd event you need to select the function and tell it to pass the context. 

Feb 22, 2017 06:15 EST
Vote up!
0 votes
Vote down!


We have a sample app on the same requirement like one record contain 2 item on click of the item need to know which record and which item got selected. On this scenario we have published the app in our gitHub, please check the below link.


Replied by: Feb 23, 2017 02:13 EST