Tablesorter library supports table striping with their Zebra widget which is native to the library. Since drupal leverages table striping with 'odd', 'even' classes, we should implement this so that when sorting we can maintain table striping.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | tablesorter-zebra-2510736-3.patch | 3.02 KB | kmoll |
| #1 | tablesorter-zebra-2510736-1.patch | 3.05 KB | kmoll |
Comments
Comment #1
kmoll commentedI have added a patch to address this.
I have created options in the admin that allow for added the zebra widget as well as specifiying what classes you want to use for odd/even rows. I feel this can be expanded later to support more widgets.
I also changed the default in the admin form for the theme to 'system'. That is the default when adding the css. So if the user doesn't change it to system and then they save the form, it will change the theme used for the table. They should all be the same default and 'system' is the correct one.
Comment #2
kmoll commentedComment #3
kmoll commentedUpdate the patch to remove debug code.
Comment #4
monymirzaHi kmoll, thanks for patch. Will you accept to be Maintainer of this module?
Comment #5
kmoll commentedI am submitting this patch while working for Appnovation Technologies on behalf of Pfizer.
Comment #6
kmoll commentedHi @monymirza, I will accept maintainership of this module
Comment #7
monymirza