Index
» Projekty
» phpMyEdit
» Fórum
» adjusting column size |
|
chester
Založený: 30.12.2012
Príspevky: 1
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
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
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
|
|
|
|