mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 10:09:36 +02:00
afterload event added
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user