开发者

How to use linkbuttons within yui datatable?

I use yui datatable and i have a field which is resumePath which is path to a file in a folder in my application... So how to use linkbutton and show my path on it...

{ key: "resumepath", label: "Resumepath", width: 250, formatter: YAHOO.widget.DataTable.formatLink }

and this doesnt work any suggestion... I want to make this file to downloaded when the user clicks on it开发者_运维问答..


After much searching i found the answer it should be like this

{ key: "resumepath", label: "Resumepath", width: 250, formatter: "link" }
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜