phpMyEdit - Viewing Bug Advanced Details [ Go Back ]
450 core / field option minor always 2007-08-31 21:59 2007-08-31 21:59
derick  
Win  
normal 2000  
new current from CVS  
v 1.198 2007-07-04 21:37:51 open  
none  
none  
dummy column's width set with 'colattrs' is lost when colum is sorted
see summary ;-)
Add a dummy field on your form :

$opts['fdd']['virtual_1'] = array(
'name' => 'FieldName',
'options' => 'LFCPVDR',
'colattrs' => 'align="center" width="50px"',
'sql' => 'PMEtable0.OneField',
'select' => 'T',
'sort' => true
);

Display your form - OK, width = 50 px ; now, order the list by 'FiedName' - now, the width != 50 px ...
other column's width set with 'colattrs' are also lost...

There are no notes attached to this bug.