admin管理员组文章数量:1025556
Can We insert javascript in a report rendered by sql reporting services?
eg:- when mouse over happens over a cell i would like to open a div as in case of ajax modal popup control usage.
Can We insert javascript in a report rendered by sql reporting services?
eg:- when mouse over happens over a cell i would like to open a div as in case of ajax modal popup control usage.
Share Improve this question edited Feb 20, 2009 at 16:38 Joel Coehoorn 417k114 gold badges578 silver badges815 bronze badges asked Feb 20, 2009 at 16:33 praveenthondapraveenthonda2 Answers
Reset to default 3Yes, adding JavaScript and jQuery is pletely doable with the results of a SQL query. We have taken the results and looped through them to build up a string that can assign a DIV or CLASS to the rows, columns, or cells. Then apply hover effects to them for the final rendering in your script. We did this for conditional highlighting and conditional hiding of data based on values, along with hover effects for fading in a color on the row/column being hovered upon.
It is not that hard, but it also may not be the most efficient way to do it considering the chance your query results may be hundreds and hundreds of rows.
I would say doable, but check for efficiency.
I've never seen it done and don't exactly like the idea, but here is some information that I dredged up concerning javascript and Reporting Services.
Link
Can We insert javascript in a report rendered by sql reporting services?
eg:- when mouse over happens over a cell i would like to open a div as in case of ajax modal popup control usage.
Can We insert javascript in a report rendered by sql reporting services?
eg:- when mouse over happens over a cell i would like to open a div as in case of ajax modal popup control usage.
Share Improve this question edited Feb 20, 2009 at 16:38 Joel Coehoorn 417k114 gold badges578 silver badges815 bronze badges asked Feb 20, 2009 at 16:33 praveenthondapraveenthonda2 Answers
Reset to default 3Yes, adding JavaScript and jQuery is pletely doable with the results of a SQL query. We have taken the results and looped through them to build up a string that can assign a DIV or CLASS to the rows, columns, or cells. Then apply hover effects to them for the final rendering in your script. We did this for conditional highlighting and conditional hiding of data based on values, along with hover effects for fading in a color on the row/column being hovered upon.
It is not that hard, but it also may not be the most efficient way to do it considering the chance your query results may be hundreds and hundreds of rows.
I would say doable, but check for efficiency.
I've never seen it done and don't exactly like the idea, but here is some information that I dredged up concerning javascript and Reporting Services.
Link
本文标签: JavaScriptSQL Reporting ServicesStack Overflow
版权声明:本文标题:JavaScript - SQL Reporting Services - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745634153a2160341.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论