As much as I would love to go to my grave swearing up and down that it 
was broke, I cannot reproduce this error now. I tried in the original 
code and in a test case. My best guess is before I forgot to save the 
code for my data model and had zero columns.

Sorry for wasting your time on this matter, I will try to be more 
thorough in the future.

Also, thank you for your note on the styleclass role.

Regards,
Thomas Suckow

On 07/13/2011 04:04 AM, Koen Deforche wrote:
> 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

------------------------------------------------------------------------------
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