Project

General

Profile

Feature #1218

Url's in header of WStandardItemModel

Added by Anonymous over 10 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
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

Also available in: Atom PDF