3.0 beta 2

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
November 7,
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>

    <!-- ActiveWidgets stylesheet and scripts -->
    <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>

    //	create ActiveWidgets data model - XML-based table
    var table = new Active.XML.Table;

    //  get reference to the xml data island node
    var xml, node = document.getElementById("xmlDataIsland");

    //	IE
    if (window.ActiveXObject) {
        xml = node;
    }
    //	Mozilla
    else {
        xml = document.implementation.createDocument("","", null);
        xml.appendChild(node.selectSingleNode("*"));
    }

    //	specify rows XPath
    table.setRows("//companies/company");

    //	provide data XML
    table.setXML(xml);

    //	define column labels
    var columns = ["Ticker", "Company Name", "Market Cap.", "$ Sales", "Employees"];

    //	create ActiveWidgets Grid javascript object
    var obj = new Active.Controls.Grid;

    //	provide column labels
    obj.setColumnProperty("texts", columns);

    //	provide external model as a grid data source
    obj.setDataModel(table);

    //	write grid html to the page
    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)
November 8,
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)
November 8,
Thank You very much Alex.

I'l get back to you after I am done with the evaluation...
Jagadeesh VN
November 9,
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
November 9,
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
November 12,
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
November 13,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.