3.2.0

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
December 3,
no one reply it?
darwin
December 9,
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
December 9,

This topic is archived.


Back to support forum