Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Missing Multi2 column + debug tips + modify dbObject by task (first screen)
Re: Missing Multi2 column + debug tips + modify dbObject by task [message #3264 is a reply to message #3263] Sun, 30 December 2012 21:02 Go to previous messageGo to previous message
markcarranza is currently offline  markcarranza
Messages: 14
Registered: December 2012
Location: San Francisco, CA, USA
Junior Member
I can't seem to upload the file here, so:
<?php
$structure['xsl_file'] = 'std.list2.xsl';
$structure['tables']['outer'] = 'dict_table';

// identify the column specs - may use 'width' or 'class'
$structure['outer']['columns'][] = array('width' => '25%');
$structure['outer']['columns'][] = array('width' => '*');

// identify the field names and their screen labels
$structure['outer']['fields'][] = array('database_id' => 'Database Id');
$structure['outer']['fields'][] = array('table_id' => 'Table Id');
$structure['outer']['fields'][] = array('table_desc' => 'Table Description');
$structure['outer']['fields'][] = array('tbl_comment' => 'Comment');

$structure['tables']['inner'] = 'dict_column';

// identify the column specs - may use 'width' or 'class'
$structure['inner']['columns'][] = array('width' => 5);
$structure['inner']['columns'][] = array('width' => 10, 'align' => 'right');
$structure['inner']['columns'][] = array('width' => 10, 'nowrap' => 'nowrap');
$structure['inner']['columns'][] = array('width' => 20);
$structure['inner']['columns'][] = array('width' => 40);
$structure['inner']['columns'][] = array('width' => '*');
$structure['inner']['columns'][] = array('width' => 20);

// identify the field names and their screen labels
$structure['inner']['fields'][] = array('selectbox' => 'Select');
$structure['inner']['fields'][] = array('column_seq' => '#');
$structure['inner']['fields'][] = array('column_id' => 'Name');
$structure['inner']['fields'][] = array('col_rename' => 'Rename', 'size' => 20);
$structure['inner']['fields'][] = array('column_desc' => 'Description', 'size' => 40, 'nosort' => 'y');
$structure['inner']['fields'][] = array('col_comment' => 'Comment', 'cols' => 40, 'rows' => 2, 'nosort' => 'y');
$structure['inner']['fields'][] = array('is_required' => 'Is Required', 'nosort' => 'y');

// uncomment to get debug XML in /xsl directory
// $_SESSION['log_xml_document'] = true;
 
Read Message
Read Message
Read Message
Previous Topic: Changing screen names
Next Topic: Does Radicore allow orphaned children?
Goto Forum:
  


Current Time: Sun Nov 24 11:51:26 EST 2024

Total time taken to generate the page: 0.01180 seconds