Actions
Feature #1218
openUrl's in header of WStandardItemModel
Start date:
03/30/2012
Due date:
% Done:
0%
Estimated time:
Description
Dear Sirs!
For setting an url of an item in WStandardItemModel one can use
model~~item(x,y)~~>setUrl("..."). The horizontal header data however cannot be accessed in this way.
The code e.g.
Wt::WAnchor *WA = new WAnchor("http:..", "Description", this);
model->setHeaderData(i , boost::any(WA));
compiles, but application crashes.
Is there some way to define an url of header data?
Best,
wlddasboot
Actions