mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-18 03:29:47 +02:00
fixed sample
This commit is contained in:
@@ -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';}";
|
||||
|
Reference in New Issue
Block a user