免费的 jqGrid:如何在 edit/addNew 表单上将标签设为指向新 window 的超链接?
free jqGrid: How to make label as hyperlink to new window on edit/addNew form?
这里的 Country Label 应该是指向另一个 window 的超链接。我不知道这是否可能。如果可以的话,请您在这里分享演示。
该功能在旧版本的 jqGrid 中也存在。您只需要在 colModel
中相应列的定义中添加 formoptions.label
。试试下面的例子
formoptions: {
label: "<a target='_blank' " +
"href='https://en.wikipedia.org/wiki/List_of_sovereign_states'>Country</a>"
}
该功能在旧版本的 jqGrid 中也存在。您只需要在 colModel
中相应列的定义中添加 formoptions.label
。试试下面的例子
formoptions: {
label: "<a target='_blank' " +
"href='https://en.wikipedia.org/wiki/List_of_sovereign_states'>Country</a>"
}