[Phpmyadmin-devel] Really long ENUM and SET values in table structure

Michal Čihař michal at cihar.com
Mon Jul 19 10:57:06 CEST 2010


Dne Sat, 17 Jul 2010 10:00:21 -0400
Marc Delisle <marc at infomarc.info> napsal(a):

> Lori Lee a écrit :
> > When there are a lot of ENUM and SET values, they all show up when viewing
> > the table's structure and you end up having to scroll for a while to get to
> > the right side of the table. I'm wondering if it would make sense to
> > truncate them/limit the maximum cell width to 200px or something.
> We could use $cfg['LimitChars'] for this purpose, adding an additional
> meaning for this directive.
> What about very long column names or default values?

I would not truncate column names, but for enum, set and default values
it might make sense.

Maybe just use

<abbr title="full text">truncated..</abbr>

	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20100719/c53067a2/attachment.sig>

More information about the Developers mailing list