【发布时间】:2015-03-10 17:26:06
【问题描述】:
我有如下的 jquery 网格列。
colNames: ['Site_Name', 'Details'],
colModel: [{ name: 'Site_Name', index: 'Site_Name', width: 130,editable: false,
sortable: false,formatter: 'showlink', formatoptions: {
baseLinkUrl: 'javascript:', showAction: "Link('", addParam: "');"} },
{ name: 'Details', index: 'Details', width: 400, editable: false, sortable: false }],
为一列形成超链接。
一旦用户单击另一列中基于超链接的值(假设该记录/行的状态)。 在导航到实际页面之前,我需要显示一条弹出消息。
如何在自定义格式的超链接上编写点击事件?
【问题讨论】:
标签: javascript jquery jqgrid