I am in rowGenerateBegin of a dataView.
I wish to have an onClick event that when I click anywhere on the row it toggles the checkbox that is on that row.
Problem: If I get the name of the checkbox:
String name = (String)CheckBox1.getProperty("NAME"
;
( OR
AgpTag x1 = getTag("CheckBox1"
;
String name = x1.getProperty("NAME"
);
)
The name is not of the checkbox for the current row, but the row before. So when I click the checkbox that toggles is the one above where I really am.
So how can I get the name of checkbox for the current row?
Is this a bug, why would it give me the name before?
thanks
I wish to have an onClick event that when I click anywhere on the row it toggles the checkbox that is on that row.
Problem: If I get the name of the checkbox:
String name = (String)CheckBox1.getProperty("NAME"
( OR
AgpTag x1 = getTag("CheckBox1"
String name = x1.getProperty("NAME"
)
The name is not of the checkbox for the current row, but the row before. So when I click the checkbox that toggles is the one above where I really am.
So how can I get the name of checkbox for the current row?
Is this a bug, why would it give me the name before?
thanks