I'm porting my grids to use the new Ext 1.0, but I'm finding that the documentation is lacking entries for the Ext.data.Store and Ext.data.XMLReader, etc.
Just a heads up, it would be nice ot have these documented.
-jeff
Just a heads up, it would be nice ot have these documented.
-jeff

|
#2
|
|
separate note, but I'm trying to debug an exception in ext-jquery-adaptor, but the distribution only contains a compressed version. Can you distribute a -debug version as well? Thanks.
-jefff ![]() |
|
#3
|
|
This code still in an alpha release state - as such, the documentation is incomplete. This will be done by the time the official release is ready.
__________________
Tim Ryan - Ext JS Support Team Read BEFORE posting a question / posting a Bug Use Google to Search - API / Forum API Doc (3.x | 2.x | 1.x) / FAQ / Wiki / Tutorials / 1.x->2.0 Migration Guide ![]() |
|
#4
| |
|
Quote:
On a separate note, I'm unable to get Ext 1.0 grids to render in FF. At first, I was trying to port my grids to 1.0, but I couldn't get them to render. So now, I've slowly reduced my test to merely the example from xml-grid.js. Still won't render, as in nothing draws on the page. The only changes I've made are to link the libs and the example xml to my docroot. any suggestions? <html>
<head>
<script language="Javascript" src="/core/js/ext/jquery.js"></script>
<script language="Javascript" src="/core/js/ext/jquery-plugins.js"></script>
<script language="Javascript" src="/core/js/ext/ext-jquery-adapter.js"></script>
<script language="Javascript" src="/core/js/ext/ext-all-debug.js"></script>
</head>
<body>
<div id="example-grid" class="x-grid-mso" style="border: 1px solid #c3daf9; overflow: hidden; width:520px;"></div>
<script>
Ext.onReady(function(){
// create the Data Store
var ds = new Ext.data.Store({
// load using HTTP
proxy: new Ext.data.HttpProxy({url: '/core/js/ext/examples/grid/sheldon.xml'}),
// the return will be XML, so lets set up a reader
reader: new Ext.data.XmlReader({
// records will have an "Item" tag
record: 'Item',
id: 'ASIN'
}, [
// set up the fields mapping into the xml doc
// The first needs mapping, the others are very basic
{name: 'Author', mapping: 'ItemAttributes > Author'},
'Title', 'Manufacturer', 'ProductGroup'
])
});
var cm = new Ext.grid.ColumnModel([
{header: "Author", width: 120, dataIndex: 'Author'},
{header: "Title", width: 180, dataIndex: 'Title'},
{header: "Manufacturer", width: 115, dataIndex: 'Manufacturer'},
{header: "Product Group", width: 100, dataIndex: 'ProductGroup'}
]);
cm.defaultSortable = true;
// create the grid
var grid = new Ext.grid.Grid('example-grid', {
ds: ds,
cm: cm
});
grid.render();
ds.load();
});
</script>
</body>
</html>
![]() |
|
#5
|
|
Nevermind... forgot to load the css.
![]() |
用户尝试将网格组件移植到Ext1.0版本中遇到显示问题,在Firefox浏览器下无法正常渲染网格。通过逐步简化测试代码,最终发现是遗漏了CSS文件加载导致的问题。
1008

被折叠的 条评论
为什么被折叠?



