Project

General

Profile

Actions

Feature #1063

closed
JH KD

WTableView with header in column

Feature #1063: WTableView with header in column

Added by Jan Hrubeš almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
11/16/2011
Due date:
% Done:

0%

Estimated time:

Description

Hi,
I missing the option the use WTableView with header in column. It is not essential, but it would expand widgets usability (I have only a few measurements, but many options to display).

By the way, I found another typo in documentation - switched meaning in setColumnSpan and setRowSpan.

Wt::WTableCell::setColumnSpan
  A column span greater than 1 indicates that table cells --BELOW-- this one are overspanned.

Wt::WTableCell::setRowSpan
  A row span greater than 1 indicates that table cells to the --RIGHT-- of this one are overspanned.

regards,
Jan

KD Updated by Koen Deforche almost 15 years ago Actions #1

Hey Jan,

I guess you mean a header for each row ?
Does setRowHeaderCount() not help you ?

http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WAbstractItemView.html#adf338c1002ce189de836de6f5d445cc4

Thanks for the typo. I've corrected this.

Regards,
koen

JH Updated by Jan Hrubeš almost 15 years ago Actions #2

Hi Koen,
thanks for your fast reply.
Method setRowHeaderCount() isn't exactly what I meant, but is sufficient for my needs.

Original I was thinking about something like transposition, to have (with polished style) blue cells with sorting buttons in the first column.

regards,
Jan

KD Updated by Koen Deforche almost 15 years ago Actions #3

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche

Hey Jan,

I see what you mean (although, sorting, really ?). You can play with the style and contents using the style class role, and perhaps a custom item delegate, in a do-it-yourself fashion.

Regards,
koen

KD Updated by Koen Deforche almost 15 years ago Actions #4

  • Status changed from Resolved to Closed
  • Target version set to 3.2.0
Actions

Also available in: PDF Atom