...

View Full Version : How Can i Create a list[Validation] in embedded Excel Object in JavaScript ?



vijaysaraf
09-09-2008, 10:58 AM
I don't know whether it is possible or not.
Here , what I have & what I to do is :
I have a web page( JSP ,if it matters) having excel object embedded on it.I am able to access that object in my JavaScript code......but that is not enough.I have to place a list box [items are predefined] on a particular Column so that user can choose from the list.
Here is that code part


<object classid="CLSID:0002E551-0000-0000-C000-000000000046" id="ActiveX" >
<param name="some..." value="some.." >
</object>

<script language="JavaScript">
var Excel = document.getElementById("ActiveX");
Excel.range('a1').value="Hello";
</script>


That's all.
Please don't suggest me to follow Dojo or any ready made Tools for grid.I have to place only Excel Object.
Thnaks,
VijayS.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum