Hi Krishna Teja K,

The snippet of code you attached seems correct to me and the onclick should be actually updated.
Could you please try to trace if indeed your page receives the update with the click field? You could add a listener to your subscription, something like this:

dynaGrid.addListener({
onVisualUpdate: function(key,info,domNode) {
if (info == null) {
return;
}

info.forEachChangedField(tracefieldvalue);

}
})

Regards,
Giuseppe