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
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
December 3,