Hey Thomas,

2011/7/8 Thomas Suckow <[email protected]>:
> The documentation for setRowHeaderCount() states that "Currently, this
> property must be set before any other settings of the view [...]".
> However if you call this function before setModel() you get a runtime
> assertion failure:
>
> Wt/WTableView.C:1335: void Wt::WTableView::computeRenderedArea():
> Assertion `renderedLastColumn_ == -1 || renderedFirstColumn_ <=
> renderedLastColumn_' failed.

Although I am willing to refine the docs to say that you should do
this before other settings,
I cannot reproduce this. Can you provide a stacktrace and/or test case ?

> On a related note:
> What would be the best way to style row headers like the column headers?

I guess you should be able to do that using styleclass role data and
copying some css properties (font, background) from the column headers
over to that style class ? But I have never tried that.

Regards,
koen

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to