Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 column width settings in table view

open
nobody
5
2010-03-17
2010-03-17
Anonymous
No

When we look for the first time to a table presentation of data, we are used to set the column width to our preferred size. VFront does not "remember" it. What about saving it in a cookie?
Anyway, the optimum size of the column can be predicted or derived from ... column size? Normally setting it to the column size is not a good choice, it is a maximum foreseeable size that could be reached one time in thousands of rows. Obviously a query with the modal length of every column could bury any DBMS. But metadata tables (the INFORMATION_SCHEMA for Postgres) could store this info. This could also be stored in the frontend tables if an explicit "compute column width"could be issued in the administration interface. Anyway, the user's choice could be retained in a cookie.

Discussion