> > you have a list of row and each of these rows has a cless ODD or EVEN. Say > that you want to hide away all ODD rows. > Why would it be best to have your GWT code traverse every single row in > the set an based on your index % 2 decide weather or not collapse it, than > have a CSS selector in gwt-jquery kill away all ODD rows?
Set a class 'odd' and 'even' and place those on each row when you make them. Then just use a CSS selector to show or hide all 'odd' rows by element.addClassName('hideOdd') on the parent container. Just a single operation in GWT. Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/YVauwMIIAaQJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.