I imported a table which has notes in one column. These notes are quite long and they import correctly. However when I attempted to edit one of the rows it insisted that the cell could not be longer than 256 (?) bytes. That obviously is not the case. It would be great if this "limit" could be removed so that I can edit the column without having to re-import the table.
The table is at http://www.climateactionnow.ca/energy-efficiency-tips-0

(p.s. I love this module!)

Comments

Patricia_W’s picture

#maxlength has been set to 256 in nodetable.module which overrides the default of 128. I set it to 64K and that works but it may not work with earlier versions of MySQL etc.
This is the code I changed:
$form['data'] = array(
'#type' => 'textfield',
'#default_value' => $cell->data,
'#size' => 80,
'#maxlength' => 65535, // the previous limit was 256
'#parents' => array('cell', $delta, 'data'),
);