In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Dependency Graph View Issue ] Relation Graph ] Horizontal ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000201 [In-Portal CMS] Admin Interfaces feature request N/A 2009-08-07 13:32 2009-10-03 07:57
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000201: Ability to set default width for each grid column after clean installation
Description Currently we have ability to manually resize columns for each column in each grid. New column widths are automatically saved and are restored next time administrator will visit administrative console. Problem is, that after clean installation all columns have 100px width by default. For columns, that have long column headers this makes them wrap and makes overall height of column header row larger.

I propose to add new "width" option to grid column declaration in unit config (Grids -> Fields -> FieldName -> width). This option will only have effect, when administrator haven't visited given grid yet. After administrator manually changes column widths or just visits given grid this option will not have effect. This behavior exactly matches pattern, that we have after clean installation.
Additional Information How to set correct width for the first time (do only once for this release only):
1. turn on "DBG_SHOW_PERSISTENTDATA" option in debug.php file.
2. set correct column width manually resizing columns.
3. open debugger and locate variable named like this: "<prefix.special>_columns_.".
4. copy displayed width values into appropriate unit config.

Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker