mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-20 14:02:38 +02:00
added autoedit table
This commit is contained in:
@@ -94,8 +94,14 @@ void TableRenderer::renderHead(const Renderable* pRenderable, const RenderContex
|
||||
if ((*it) && (*it)->getCell())
|
||||
editable |= (*it)->isEditable();
|
||||
}
|
||||
|
||||
if (editable)
|
||||
ostr << "new Ext.grid.EditorGridPanel({";
|
||||
{
|
||||
if (pTable->autoEdit())
|
||||
ostr << "new Ext.grid.AppinfTable({autoEdit:true,";
|
||||
else
|
||||
ostr << "new Ext.grid.EditorGridPanel({";
|
||||
}
|
||||
else
|
||||
ostr << "new Ext.grid.GridPanel({";
|
||||
|
||||
|
@@ -147,6 +147,7 @@ void Utility::initialize(ResourceManager::Ptr ptr, const Poco::Path& extJSDir)
|
||||
#else
|
||||
ptr->appendJSInclude(Poco::Path(aDir, "ext-all.js"));
|
||||
#endif
|
||||
ptr->appendJSInclude(Poco::Path(aDir, "AppinfTable.js"));
|
||||
ptr->appendJSInclude(Poco::Path(aDir, "DDView.js"));
|
||||
ptr->appendJSInclude(Poco::Path(aDir, "Multiselect.js"));
|
||||
|
||||
|
Reference in New Issue
Block a user