:: Forum >>

button in cell,when click,how to get row index

var oBtn=new AW.UI.Button;
oBtn.setId('Btn');
oBtn.setControlText('Button');
oBtn.setSize(50,25);
oBtn.onControlClicked = function(e,rowidx,col) {alert(rowidx)}
oTemp.setContent('button', oBtn);
obj.setCellTemplate(oTemp,6);

but rowidx is null,how to get row index when click the button
darwin
Thursday, December 3, 2015
no one reply it?
darwin
Wednesday, December 9, 2015
It is a problem I brought up over a year ago, there does not seem to be a solution. I could not make it work reliably.
Erik Dobrie
Wednesday, December 9, 2015

This topic is archived.


Back to support forum

Forum search