Project

General

Profile

Actions

Support #5343

open

Wt::WTable headers

Added by Gunnar Skogsholm over 7 years ago. Updated over 7 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.

Actions #1

Updated by Koen Deforche over 7 years ago

  • Status changed from New to Feedback

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

Actions #2

Updated by Gunnar Skogsholm over 7 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?

Actions #3

Updated by Koen Deforche over 7 years ago

  • Assignee set to Koen Deforche

No, row and column numbers cannot be negative.

Actions

Also available in: Atom PDF