Javascript function to get detail data on mouse over over a table cell
#2
Posted 06 June 2011 - 10:44 AM
See the following article to see how to add a mouseover event to a table cell:
http://www.birt-exch...-report-design/
You can extend this example and display the detail data.
Ashwini
#3
Posted 06 June 2011 - 08:32 PM
Thanks for the help,
I would like to know if you had got a chance to test the example, reason is, if the example is intended for appending to cell values, and changing its color upon mouse over, I am not getting the cell values updated with the mouse over operation.
And regarding my work, I think the following steps can be one approach as per you example suggestion and my thoughts,
1. 2 DataSets for 2 tables (1 for the parent table, and 1 for the mouse-over 'tool-tip' table.
2. Once the mouse-over event triggered, it has to take the cell value as a query parameter for my mouse-over tool-tip's dataset.
3. The result table has to be displayed on the mouse-over tool-tip item.
I will start working on this, and would like to get suggestions and right approaches to get the same, and if there are example design like the one provided for mouse-over,
Thanks in advance
Preethi
#4
Posted 09 June 2011 - 12:40 PM
I created a sample for you to do just what you need. It has two datasets - Customer1 and Customer2. The data from Customer 2 is displayed in the table. When you hover mouse over the first column you will see a bubble help that is derived from Customer1 table. I have Customer1 data stored in a javascript array that I build in the first hidden table. Take a look and let me know if you have questions.
Ashwini
bubble_help.rptdesign (16.95K)
Number of downloads: 56






MultiQuote




