| No. Position number in the group {Editable} | Description Item Description. A descriptive text of your choice {Editable} | Account The number in the statement of account to which the sales tax must be posted. {Editable} | %-rate VAT % rate {Editable} | Note Note about the record {Editable} | Delete Click the red cross to delete a entry |
|---|---|---|---|---|---|
function htm_Table(# capt:[], pref:[], body:[]',suff:[], note:'', data:[], filt:true, sort:true, crea:true, modi:true, vhgh:'400px', styl:'', from:__FILE__,list:[],expo:''); $capt= [ # ['0:Label', '1:Width', '2:Type', '3:OutFormat', '4:horJust', '5:Tip', '6:placeholder', '7:Content';], ... ], $pref= [ # ['0:ColLabl', '1:ColWidth', '2:ContType', '3:OutFormat', '4:[horJust_etc]', '5:ColTip', '6:Html'], ... ], // if (($ModifyRec) or ($RowBody[0][2]!='indx')) is 2% ColWidth can be used to => row-select-button $body= [ # ['0:ColLabl', '1:ColWidth', '2:ContType', '3:OutFormat', '4:[horJust_etc]', '5:fldKey', '6:ColTip','7:placeholder','8:default','9:[selectList]'], ... ], # Field 4: $FieldProporties - is composed of: [horJust, FieldBgColor, FieldStyle, TdColor, SorterON, FilterON, SelectON, $suff= [ # ['0:ColLabl', '1:ColWidth', '2:ContType', '3:OutFormat', '4:[horJust_etc]', '5:ColTip', '6:value! '], ... ], $note= '', # string: HTML-string - note to be shown below the table &$data, # array: [{"name_0":value_0, "name_1":value_1, "name_2":value_2, "name_3":value_3, "name_4":value_4, "name_5":value_5, "name_6":value_6, "name_7":value_7, "name_8":value_8, "name_9":value_9},{...},{...}] $filt= true, # bool: Ability to hide records that do not match filter // Does not work with hidd fields! $sort= true, # bool: Ability to sort records by column content $crea= true, # bool: Ability to create a records - string: Labeltext on createButton $modi= true, # bool: Ability to select and change data in a row $vhgh= '400px', # string: The height of the visible part of the table's data $styl= '', # string: Style for the span that holds the table; $from= __FILE__, # string: = __FILE__ / __FUNCTION__ (debugging: locate error) $list= ['',''], # array: LookupLists for options // Test [DataKolonneNr, > grænseværdi] Undlad spec. FieldColor $expo= '' # string: Export values in table data fields to CSV-file )
echo 'You place your html-objects here inside fieldset-frames...';// PHP7-syntax: (Fixed order) htm_Fieldset($capt='@Caption: ', $hint='@You can use hints',$icon='', $wdth='180px',$marg='', $attr='background-color:MintCream', $rtrn=false); // PHP8-syntax: (Named, free order, can be omitted) htm_Fieldset(capt:'@Caption: ', hint:'@You can use hints', wdth:'180px', attr:'background-color:MintCream'), rtrn:false); // htm_Fieldset() must be followed by the html-content and htm_Fieldset_end() ! htm_Fieldset_end(rtrn:false);
// PHP8-syntax: htm_Field(labl:'Label with hint', hint:'Tip for htm_Field()', icon:'',name:'fld', html:'HTML-Content <br>in container htm_Field() <br>---', wdth:'', marg:'',ftop:'',attr:'', rtrn:false);
// PHP7-syntax: htm_wrapp_($ViewHeight='60px'); // htm_wrapp_() must be followed by htm_wrapp_end() ! echo 'You place your html-objects here inside Wrapper-window...<br><br> A Wrapper-window is a window with a fixed height<br> in with you can scroll the content<br> if it owerflow the window-heigh'; htm_wrapp_end();
htm_Input($labl='@htm_Input(Dec2)', $plho='', $hint='@Demo of htm_Input Field type dec2: number with 2 decimal', ,
$type='dec2', $name='dec2', $valu=$dec2, $wdth='', $algn='center', $unit='<$ ');
htm_Input(labl:'@htm_Input(Dec2)', type:'dec2',name:'dec2',valu:$dec2,unit:'<$ ',hint:'@Demo of htm_Input Field type dec2: number with 2 decimal');
| Name. {Editable} | Age {Editable} | Email {Editable} |
|---|---|---|