Alexander Limi | 1 Nov 2005 04:59
Favicon
Gravatar

Re: bad coloring on smart folder views, other <table class="listing"> reorderings

On Sun, 30 Oct 2005 20:06:05 -0800, George Lee  
<georgeleejr@...> wrote:

> When I use <table class="listing"> so that the user can reorder the
> table based on different fields, the odd/even coloring stops working.
> Rather than coloring a record depending on its odd/even row after
> re-ordering, it colors it depending on its original parity.
>
> Is this expected?

Yes, kind of. The Javascript code doesn't try to keep track of colors on  
reorder.

> If not, is there an easy way to fix it?

Rewrite the JS. Whether this is easy or not depends on your skill level, I  
assume. :)

--

-- 
_____________________________________________________________________

      Alexander Limi · Chief Architect · Plone Solutions · Norway

  Consulting · Training · Development · http://www.plonesolutions.com
_____________________________________________________________________

       Plone Co-Founder · http://plone.org · Connecting Content
   Plone Foundation · http://plone.org/foundation · Protecting Plone

-------------------------------------------------------
(Continue reading)


Gmane