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.

Comments

kmoll’s picture

StatusFileSize
new3.05 KB

I 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.

kmoll’s picture

Assigned: kmoll » Unassigned
Status: Active » Needs review
kmoll’s picture

StatusFileSize
new3.02 KB

Update the patch to remove debug code.

monymirza’s picture

Hi kmoll, thanks for patch. Will you accept to be Maintainer of this module?

kmoll’s picture

I am submitting this patch while working for Appnovation Technologies on behalf of Pfizer.

kmoll’s picture

Hi @monymirza, I will accept maintainership of this module

monymirza’s picture

Status: Needs review » Closed (fixed)