mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 02:06:04 +02:00
mouseup, mousedown events
This commit is contained in:
@@ -54,6 +54,8 @@ const std::string Table::EV_CELLVALUECHANGED("edit");
|
||||
const std::string Table::EV_LOADDATA("load");
|
||||
const std::string Table::EV_AFTERLOAD("afterload");
|
||||
const std::string Table::EV_RENDER("render");
|
||||
const std::string Table::EV_MOUSEUP("mouseup");
|
||||
const std::string Table::EV_MOUSEDOWN("mousedown");
|
||||
|
||||
|
||||
Table::Table(const TableColumns& tc, TableModel::Ptr pModel):
|
||||
@@ -204,6 +206,16 @@ void Table::handleAjaxRequest(const Poco::Net::NameValueCollection& args, Poco::
|
||||
Table* pTable = this;
|
||||
afterRender(this, pTable);
|
||||
}
|
||||
else if (ev == EV_MOUSEUP)
|
||||
{
|
||||
Table* pTable = this;
|
||||
mouseUp(this, pTable);
|
||||
}
|
||||
else if (ev == EV_MOUSEDOWN)
|
||||
{
|
||||
Table* pTable = this;
|
||||
mouseDown(this, pTable);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user