afterload event added

This commit is contained in:
Peter Schojer
2008-06-04 13:37:04 +00:00
parent 691eb2d909
commit 8cd381c913
5 changed files with 38 additions and 10 deletions

View File

@@ -51,6 +51,7 @@ const std::string Table::FIELD_CNT("cnt");
const std::string Table::EV_CELLCLICKED("click");
const std::string Table::EV_CELLVALUECHANGED("edit");
const std::string Table::EV_LOADDATA("load");
const std::string Table::EV_AFTERLOAD("afterload");
Table::Table(const TableColumns& tc, TableModel::Ptr pModel):
@@ -174,6 +175,11 @@ void Table::handleAjaxRequest(const Poco::Net::NameValueCollection& args, Poco::
setValue(Poco::Any(val), row, col);
response.send();
}
else if (ev == EV_AFTERLOAD)
{
Table* pTable = this;
afterLoad(this, pTable);
}
}