Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 24. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Display Column Width

phpMyEdit General     Display Column Width
Odoslať novú tému   Odpovedať na tému    
 
Topshed     Založený: 04.11.2007   Príspevky: 20  
Príspevok Zaslal: 2007-11-12 08:31
Návrat hore  Odpovedať s citátom     

I am having problems with changing the width of columns I am displaying.
I have read through the Posts and the solution offered had posts reporting good and no effect.
The field I am working on displayed a column width of 15 Characters, however I have tried numbers from 10px to 500px without any differance showing on screen

ie:
$opts['fdd']['Myclass'] = array(
'name' => 'Class',
'select' => 'T',
'colattrs' => 'width="200px"',
//'colattrs' => 'width="10px"',
//'width' => '"200px"'// also tried
'maxlen' => 30,
'sort' => true
);

I have also read it can be done in CSS, but I have not been able to discover how

Please Help

thank you
Roy..

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2007-11-14 13:21
Návrat hore  Odpovedať s citátom     

http://opensource.platon.sk/projects/doc.php/phpMyEdit/html/configuration.output-control.html#AEN1050

 
Topshed     Založený: 04.11.2007   Príspevky: 20  
Príspevok Zaslal: 2007-11-15 01:52
Návrat hore  Odpovedať s citátom     

I assume you are referring to

$opts['fdd']['col_name']['textarea']['rows'] = 1;
$opts['fdd']['col_name']['textarea']['cols'] = 40;

michal Napísal:
http://opensource.platon.sk/projects/doc.php/phpMyEdit/html/configuration.output-control.html#AEN1050


but being new to PHP I am unable to work out how to incorporate that information into my problem code
below, where I want to restrict my col width to 30 chars on this field

$opts['fdd']['Lname'] = array(
'name' => 'Lname',
'select' => 'T',
'maxlen' => 60,
'sort' => true
);

An example would be great

Thanks
Roy..

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2007-11-25 16:35
Návrat hore  Odpovedať s citátom     

i was reffering to the trimlen option

 
Topshed     Založený: 04.11.2007   Príspevky: 20  
Príspevok Zaslal: 2007-12-13 16:18
Návrat hore  Odpovedať s citátom     

Thanks

regards
Roy..

 
itsjustchuck     Založený: 10.08.2011   Príspevky: 0  
Príspevok Zaslal: 2011-08-10 16:40
Návrat hore  Odpovedať s citátom     

michal Napísal:
i was reffering to the trimlen option


I tried that. It works well for text but the two columns I have currently have URL and Email so they are URLs if you trim the length and try to click the link it will only make the current visible text the link. For example

should be http://www.example.com but shows only http... because of the trimlen

When you click the link it will take you to yoursite.com/http...

Any suggestions?

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov