I want to render elements of type checkboxes or radios inside tableselect, but what I get are empty html tags. Textfield and select type elements render fine.
Basically this renders fine.
$tableSelectTesting = array( '#type' => 'select', '#options' => array( "1000" => "$1000", "other" => t("Other"), ), );
This does not.
$tableSelectTesting = array( '#type' => 'radios', '#options' => array( "1000" => "$1000", "other" => t("Other"), ), );
I add the form element to table select using the ‘data’ array key.
$options[$index] = array( 'column1' => $column1Data, 'column2' => array( 'data' => $tableSelectTesting, ) );
This is the output I get for the radios element.
<td><div id="some-id" class="form-radios"></div></td>
What should I be doing differently?