Dec 22, 2011, 11:05 AM
Google gauge and Ext.Net
Hi all
I'm new in the Ext.Net world and try to make some things.
Here is Google Gauge example:
http://code.google.com/apis/chart/in.../examples.html
(Gauge Example)
I need to get value from some Ext.Net grid (GridPanel1) and pass that value to Google Gauge code.
More detailed:
When user click on some Ext.Net grid row, I need to get value (from column 2) and pass that value to Google Gauge, so instead of:
In the meantime, I have created JavaScript function which can take a parameter and redraw a Gauge.
Now I need this:
get a value from selected row and 2. column,
call JavaScript function with that value
How to do that?
Thanks
I'm new in the Ext.Net world and try to make some things.
Here is Google Gauge example:
http://code.google.com/apis/chart/in.../examples.html
(Gauge Example)
I need to get value from some Ext.Net grid (GridPanel1) and pass that value to Google Gauge code.
More detailed:
When user click on some Ext.Net grid row, I need to get value (from column 2) and pass that value to Google Gauge, so instead of:
gaugeData.setCell(0, 0, 120);
I will use something like: gaugeData.setCell(0, 0, Passed_Value_From_GridPanel1);
How to do that?In the meantime, I have created JavaScript function which can take a parameter and redraw a Gauge.
Now I need this:
get a value from selected row and 2. column,
call JavaScript function with that value
How to do that?
Thanks
Last edited by Daniil; Dec 27, 2011 at 1:33 PM.
Reason: Please use [CODE] tags