:: Forum >>
Regarding the commercial version of the control...
Hi,
I would like to use active widgets in developing an enterprise application for my company( Suntec Business Solutions Pvt Ltd. CMM L5 ), and I am rightnow evaluating the features and functionalities of the control.
While evaluation, I got into a problem which I have listed below...
Pl. help me in solving this...
1. Regarding the setXML and setRows method. I would like to know whether I can use the setRows property by specifying an XPath in my XML, which I am loading using the setXML method. I tried doing the same, But I am afraid its not working... I can get the control to work with setRows, If I am loading the XML using setURL method.
2. I have two grids in my page, and I would like to know, Is it possible to hide a grid, and at the same time, the grid below should occupy the space which was taken by the first grid.
Once these two problems are over, I'l would like to know the commercial terms, like
1. Would I be getting 24 x 7 technical support ?
2. Can I get more documentation on the methods used ?
3. If I buy the commercial version, Would I be getting the patches and further releases for free ?
4. After buying the control, Will I be getting the tree and other controls which are there in the roadmap ?
Expecting a reply...
Thanks and Regards
Jagadeesh VN
Jagadeesh VN
Sunday, November 7, 2004
Here is the example which uses both setXML and setRows:
<html>
<head>
<title>ActiveWidgets Grid :: Examples</title>
<style> body, html {margin:0px; padding: 0px; overflow: hidden;} </style>
<link href="../../runtime/styles/classic/grid.css" rel="stylesheet" type="text/css" ></link>
<script src="../../runtime/lib/grid.js"></script>
<style>
.active-controls-grid {height: 100%; font: menu;}
</style>
</head>
<body>
<xml id="xmlDataIsland">
<companies>
<company>
<ticker>MSFT</ticker>
<name>Microsoft Corporation</name>
<mktcap>314,571.156</mktcap>
<sales>32,187.000</sales>
<employees>55000</employees>
</company>
<company>
<ticker>ORCL</ticker>
<name>Oracle Corporation</name>
<mktcap>62,615.266</mktcap>
<sales>9,519.000</sales>
<employees>40650</employees>
</company>
</companies>
</xml>
<script>
var table = new Active.XML.Table;
var xml, node = document.getElementById("xmlDataIsland");
if (window.ActiveXObject) {
xml = node;
}
else {
xml = document.implementation.createDocument("","", null);
xml.appendChild(node.selectSingleNode("*"));
}
table.setRows("//companies/company");
table.setXML(xml);
var columns = ["Ticker", "Company Name", "Market Cap.", "$ Sales", "Employees"];
var obj = new Active.Controls.Grid;
obj.setColumnProperty("texts", columns);
obj.setDataModel(table);
document.write(obj);
</script>
</body>
</html>
if you want to display your grid dynamically in some place of your page - you can assign it to element.innerHTML property instead of using document.write()
var grid1 = new Active.Widgets.Grid;
...
var grid2 = new Active.Widgets.Grid;
...
var element = document.getElementById("someID");
element.innerHTML = grid1;
...
element.innerHTML = grid2;
...
Alex (ActiveWidgets)
Monday, November 8, 2004
And other questions:
1. Would I be getting 24 x 7 technical support ?
- No. Support is provided on best effort basis through this forum or email.
2. Can I get more documentation on the methods used ?
- No. The documentation is the same for the commercial and free editions.
3. If I buy the commercial version, Would I be getting the patches and further releases for free ?
- Yes (for the first 12 months). Patches and new relases are free during the first year and 50% of the product price for additional 12 months.
4. After buying the control, Will I be getting the tree and other controls which are there in the roadmap ?
- These will be released as a separate product. You will get a discount if you decide to purchase them as well.
Alex (ActiveWidgets)
Monday, November 8, 2004
Thank You very much Alex.
I'l get back to you after I am done with the evaluation...
Jagadeesh VN
Tuesday, November 9, 2004
One more thing,
When are you planning to release the next versionof the control ?
Will I be able to render master - detail records in that using xml (Ofcourse, with editing feature ) ?
I saw a similar example in the forum, But it was not using xml.
Jagadeesh VN
Tuesday, November 9, 2004
Alex,
You show an example of how to add a grid to a control using the innerHTML, but this grid works great on FireFox and other browsers that do not support innerHTML.
So how would you solve the problem of adding more then one grid to a DIV in FireFox? I am facing this very thing right now. Or, is there an easy way to do it if I create the DIV using Active.System.DIV?
Thanks,
Jim
Jim Hunter
Friday, November 12, 2004
Scratch the above post. I think I was brain dead and added it to the wrong message and subsequently I solved the problem by reading through the source code, making notes of the defined methods and playing with them to see how they effect the overall functionality of the system. And bottom line is that I love them and they work quite well.
Thanks again for your fine work Alex
Jim Hunter
Saturday, November 13, 2004
This topic is archived.
Back to support forum
Forum search