Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 20. apríl 2024
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  adjusting column size

phpMyEdit Configuration     adjusting column size
Odoslať novú tému   Odpovedať na tému    
 
chester     Založený: 30.12.2012   Príspevky: 1  
Príspevok Zaslal: 2012-12-30 19:26
Návrat hore  Odpovedať s citátom     

I want to enlarge one of my text columns to accomodate notes for each record. I can see in the docs it mentions :
$opts['fdd']['col_name']['size'] = '10';
$opts['fdd']['col_name']['size|F'] = '5'; // only 5 for filter

... that this 'can be defined'. I'm assuming this is talking about in the create_script file. When searching this file however, I am not finding this in the code anywhere. If I should define this from scratch, where in the code should this be defined?

 
Topshed9     Založený: 14.01.2008   Príspevky: 34  
Príspevok Zaslal: 2015-02-26 08:22
Návrat hore  Odpovedať s citátom     

Not sure what your asking if I get you I would add a field to your table using phpadmin making it tinytext Which will give you 255 chars

Regards Topy

 
kiai     Založený: 10.06.2015   Príspevky: 5  
Príspevok Zaslal: 2015-06-11 23:18
Návrat hore  Odpovedať s citátom     

Use
Kód:
['colattrs'] = 'width="your_value"'


And example with other parameters:
Kód:
$opts['fdd']['title'] = array(
  'name'     => 'Title',
  'select'   => 'T',
  'maxlen'   => 160,
  'sort'     => true,
  'sqlw' => 'IF($val_qas = "", NULL, $val_qas)',
  'colattrs' => 'width="120px"'
);


 
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