diff --git a/tableform.module b/tableform.module
index 694d7c5..6149b73 100644
--- a/tableform.module
+++ b/tableform.module
@@ -106,7 +106,13 @@ function theme_tableform($variables) {
       );
       
       foreach ($row as $key => $cell) {
-        $rendered['data'][] = tableform_render_cell($element, $cell, $key);
+        $td = array(
+          'data' => tableform_render_cell($element, $cell, $key),
+        );
+        if (is_array($cell) && isset($cell['#td_attributes'])) {
+          $td += $cell['#td_attributes'];
+        }
+        $rendered['data'][] = $td;
       }
       
       $rows[] = $rendered;
