Hi
I am trying to get the row id
Script block -
var button = CAF.model(“#{caf:cid(‘addRowButton’)}”);
var table = CAF.model(‘#{activePageBean.clientIds[‘asyncTable2’]}’);
var rows = table.list()
var _onclick = button.element.onclick;
button.element.onclick = function() {
alert(“jk”);
};
---------when i add the line ------- var rows = table.list() , alert wont come
Please help .
Regards
Jasmeen Kaur
_onclick();
};