I'm trying to make this work, with little success. I get an extra column in my table, but no radios or checkboxes. I've reviewed the code... think I understand it... (to the point of porting the handling of '#empty' from the v7.0 version of tableselect). But I get stuck/lost at the following in function theme_tableselect...

// Render the checkbox / radio element.
unset($element[$key]['#printed']);
$row[] = drupal_render($element[$key]);

$element[$key] has no value if I follow the examples of how to construct the form, the header and the "options".

Mark

Comments

markallenneil’s picture

Status: Active » Closed (fixed)

I was using Elements incorrectly. There is no issue here. Wish I could simply delete this post.