[PyQt] table view - large cell values - newbie question
Hans-Peter Jansen
hpj at urpla.net
Sat Nov 6 10:14:50 GMT 2010
On Saturday 06 November 2010, 08:58:37 Glenn Linderman wrote:
> Had the "aha" feeling recently when finally getting a Table View to
> work, so my display of spreadsheet-style data of more than a few
> entries was actually blazing fast, instead of dog slow. Now I can
> start to be more esoteric.... but where to start?
>
> Well, Excel and other spreadsheets have figured out how to allow
> empty cells to the right of a cell to be used to display a cell
> containing a long string.
Well, you can define spanning cells, but you will have to do all the
related work manually:
* span the cells, if they are empty
* unset the span, if neighbor cells get populated, etc.
> By default, PyQt doesn't seem to do that.
Yes, of course, because in 99% of all table view usages, this behavior
is, ahem, undesirable.
Pete
More information about the PyQt
mailing list