I created an igGrid of user information. I'm using the rowTemplate so I can add a link in one of my cell columns. This link is called by a jQuery click event that is not firing. The link I'm creating is using two of the other column variables. If i add the link outside of the grid the jQuery fires properly. I'm wondering if I am not formatting the link correctly or not in the template. adding a basic javascript onClick event directly to the link works, but trying with jQuery doesn't. Any help would be awesome.
Here is my rwpTemplate:
rowTemplate: "<tr><td>${groupNumber}<div id='target'>Click here</div></td><td>${idNumber}</td><td>${personCode}</td><td>${birthDate}</td><td>${lastName}</td><td>${firstName}</td><td>${effDate}</td><td>${termDate}</td><td><a href='#' class='member-window-link' id='Member' member-url='/Member/MemberInfo/MemberInfoList/${insuredKey}/${groupKey}'><img src=/images/view.gif border=0 alt=View Member title=View Member style=cursor:hand;></img></a></td></tr>",
Thanks,
Hi there Terry,
Could you inspect the source and see whether the link is populated correctly. If it is not the reason might be that the data from the other columns could not be accessed when populating the template. The solution would be to set the localSchemaTransform option of the igGrid to false.
Let me know if this helps you!