Actions
Bug #593
closedno signal generation from WTableCell in HTML-version
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/05/2010
Due date:
% Done:
0%
Estimated time:
Description
Wt::WTable *table = new Wt::WTable(this);
Wt::WTableCell *cell = table->elementAt(0, 0);
cell->addWidget(new Wt::WText("Item @ row 2"));
cell->clicked().connect(...);
This works in ajax-version, but not in HTML-version
Submit button for clicking seems to be added before whole table
Updated by Koen Deforche about 14 years ago
- Status changed from New to Feedback
Hey Boris,
Unfortunately, there is no way to make this work in an HTML-version: listening to click signals in a plain HTML-version can only be done on elements. Therefore Wt wraps the widgets with clicked() handlers in a button. This can be done for most widgets, but not for a table cell (
).
So when Ajax is not available, you would need to listen on the cell's contents rather than the cell itself.
Regards,
koen
Updated by Koen Deforche almost 14 years ago
- Status changed from Feedback to Closed
Actions