Project

General

Profile

Actions

Feature #1063

closed

WTableView with header in column

Added by Jan Hrubeš about 13 years ago. Updated about 13 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

Actions #1

Updated by Koen Deforche about 13 years ago

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

Actions #2

Updated by Jan Hrubeš about 13 years ago

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

Actions #3

Updated by Koen Deforche about 13 years ago

  • 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

Actions #4

Updated by Koen Deforche about 13 years ago

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

Also available in: Atom PDF