Opened 9 years ago

Last modified 9 years ago

#12204 closed defect

Problem of defining source html table of HtmlStore in the TitlePane — at Initial Version

Reported by: tbbt Owned by: anonymous
Priority: high Milestone: 1.6
Component: DojoX Data Version: 1.6.0b1
Keywords: HtmlStore TitlePane Cc:
Blocked By: Blocking:


When defining a source html table of htmlStore in the TitlePane?,the DataGrid? fed by such htmlStore will not be shown.The source code is as following:

<!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.01EN" ""> <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags" %> <html> <head>

<!-- <link rel="stylesheet" type="text/css" href="css/w3rtstyles.css" /> --> <!--<s:head theme="ajax" />--> <style type="text/css">

@import "dojoroot/dijit/themes/claro/claro.css"; @import "dojoroot/dojo/resources/dojo.css" @import "dojoroot/dojox/grid/resources/Grid.css"; @import "dojoroot/dojox/grid/resources/claroGrid.css";

.grid {

width: 50%; height: 100%; padding: 1px; border: solid 1px black; border-style:outset;


</style> <script type="text/javascript" src="dojoroot/dojo/dojo.js"

djConfig="parseOnLoad: true">

</script> <script type="text/javascript">

dojo.require("dojo.parser"); dojo.require(""); dojo.require("dojox.grid.DataGrid?"); dojo.require("dijit.TitlePane?");

var unitInfoLayout = [[{ field : "UnitType?", name : "Unit Type", width: "40%" , headerStyles : "text-align: center" },

{ field : "UnitFamily?", name : "Unit Family", width : "35%", headerStyles : "text-align: center" }, { field : "Amount", name : "Amount", width : "25%" , headerStyles : "text-align: center"} ]];

dojo.addOnLoad(function() {




</head> <body class="claro"> <div dojoType="dijit.TitlePane?" title="Unit Info Table" style="margin: 5px">

<table id="unitInfoSrcTable" style="display:none">


<tr><th>UnitType?</th> <th>UnitFamily?</th> <th>Amount</th></tr>

</thead> <tbody>


<td>10G-TRP-6350</td> <td>6300</td> <td>1</td>



<td>Total</td> <td>-</td> <td>16277</td>




<div dojoType="" jsId="unitInfoStore" dataId="unitInfoSrcTable" > </div>

<table id="unitCountGrid" class="grid" dojoType="dojox.grid.DataGrid?" store="unitInfoStore"

structure="unitInfoLayout" query="{}" autoHeight="true" rowsPerPage="25" >


</div> </body> </html>

The code has been worked in the previous releases.

Change History (0)

Note: See TracTickets for help on using tickets.