Hmm, just found an answer: table.updateContent() does the job.

So lets rephrase the question: is this the "proper" way of handling such a
situation? Or is there something more efficient (I know which cell or row to
redraw).

Cheers,
Fritz

On Tue, 27 Apr 2010, Fritz Zaucker wrote:

> Hi,
>
> is there a way to programmatically redraw a table or a specific table cell
> or row?
>
> Use case: I have a custom cellRenderer which changes the background color of
>           a table cell. I want to change the parameter controlling that
>           background color at run time without changing the value in the
>           table cell.
>
> This works fine when the affected cell is redrawn (for example if scrolling
> in or out of view), but I need to have this effect appear immediately (thus
> I need to somehow force a redraw, so that the cellrenderer is called).
>
> Thanks,
> Fritz
>
>

-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to