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.

Either that is an error in the behavior of the function or the 
documentation should be updated. I would submit a proper bug report but 
internet problems make just sending this email a miracle.


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

--
Thomas Suckow

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to