webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
796 stars 271 forks source link

TextCellEditor maxlen config #10

Closed simonzack closed 11 years ago

simonzack commented 13 years ago

Hi,

Is it possible to make maxlen configurable? It defaults to 255, this is a bit short for my purposes, I have to change the source to make it bigger function TextCellEditor(size, maxlen, config) { this.fieldSize = size || -1; this.maxLength = maxlen || 255; if (config) this.init(config); };

thanks

webismymind commented 13 years ago

Sorry I had never seen your issue (I expected to receive a mail for new issues!) I'll take care of this ASAP.

simonzack commented 13 years ago

yeah github is supposed to send emails its been ages but thanks for looking into this

gnzlst commented 4 years ago

Hi, any news on this? Is it possible to set the max-length when editing a specific column?