This is a feature request with patch for an enhancement where the cells of the tableselect are all classed with their column names (if keyed) or numerical indexes (when not keyed).

It supports the header being defined as either:

$header = array('one', 'two', 'three'); //or
$header = array(array('data'=> 'one','class'=>'some-class'),array('data'=>'two'),array('data'=>'three'));

I'm using this on drupal 6, and it's making my life theming table selects much easier.

Will attach the patch shortly.

CommentFileSizeAuthor
#1 tableselect+css-1204580-01.patch1.71 KBmattconnolly
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mattconnolly’s picture

NancyDru’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

6.x no longer supported