Standard there's a limit of 128 chars in the fields, and the fields have a size of 10. This patch allows you to set a maxlength and a size for the fields in the grid.
When you apply this patch the link 'Tablefield default settings' will be created under 'admin > site configuration'. Here you can edit these values.
Note that when you set these values they will be set for all fields!
| Comment | File | Size | Author |
|---|---|---|---|
| tablefield-maxlength-size.patch | 2.97 KB | stijnd |
Comments
Comment #1
phbbonn commentedThis works only for Drupal 7. Any solution for Drupal 6 for maxlength? Thanks in advance!
Comment #2
stijndI've tested it for a D6 and it worked for me. Not tested for D7.
Comment #3
jenlamptonI think this issue is a duplicate of #836514: Table field's type in the database not long enough