fixed sample

This commit is contained in:
Peter Schojer
2008-09-30 10:32:35 +00:00
parent 8ae571b205
commit 523d339296
3 changed files with 25 additions and 18 deletions

View File

@@ -485,8 +485,11 @@ void TableRenderer::renderProperties(const Table* pTable, const RenderContext& c
}
if (pTable->getWidth() > 0)
ostr << ",width:" << pTable->getWidth();
if (pTable->getHeight() > 0)
ostr << ",height:" << pTable->getHeight();
else
ostr << ",height:100";
ostr << ",viewConfig: {";
ostr << "tpl: new Ext.XTemplate('<div class=\"cell\"></div>'),";
ostr << "getRowClass: function(rec, idx, p, store) {return 'cell';}";