Project

General

Profile

Support #5343

Wt::WTable headers

Added by Gunnar Skogsholm about 5 years ago. Updated almost 5 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
-
Start date:
10/13/2016
Due date:
% Done:

0%

Estimated time:

Description

I can't seem to figure out how to set up the header row for a table. Any help would be greatly appreciated.

#1

Updated by Koen Deforche about 5 years ago

  • Status changed from New to Feedback

WTable::setHeaderCount() configures the first so many rows as header rows. Perhaps the usage is confusing?

#2

Updated by Gunnar Skogsholm about 5 years ago

I think I was confused because I expected direct support for header functionality, for example in WTableColumn. I am calling setHeaderCount(). The next question would be:

Will elementAt( --1, 1 ) expand to create a WTableCell at row --1?

#3

Updated by Koen Deforche almost 5 years ago

  • Assignee set to Koen Deforche

No, row and column numbers cannot be negative.

Also available in: Atom PDF