global->MAIN_FEATURES_LEVEL)) { print "Page available onto dev environment only"; exit; } $usedolheader=0; // 1 = Test inside a dolibarr page, 0 = Use hard coded header // HEADER //-------- if (empty($usedolheader)) { header("Content-type: text/html; charset=UTF8"); ?> Test page

This page is a sample of page using tables. To make test with
- css (edit page to change)
- jmobile (edit page to enable/disable)
- dataTables
- tablednd



Example 0a : Table with div+div+div containg a select that should be overflowed and truncated => Use this to align text or form



Example 0b: Table with div+form+div containg a select that should be overflowed and truncated => Use this to align text or form



Example 0c: Table with table+tr+td containg a select that should be overflowed and truncated => Use this to align text or form



Example 1 : Table using tags: div.tagtable+div.tagtr+div or div.tagtable+div.tagtr+div.tagtd => Use this for tables that are edited forms

use_javascript_ajax) && $object->statut == 0) include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php'; ?>
line3
dfsdf
ffdsfsd
aaaa
line4
dfsdf
bbbb
line5
dfsdf
bbbb



Example 2 : Table using tags: table/thead/tbody/tr/td + dataTable => Use this for long result tables
trans('zzz'),1,$_SERVER["PHP_SELF"],'','','','align="center" class="tagtd"',$sortfield,$sortorder); ?>
snake
line1 dfsdf xxx
line2 dfsdf xxx
line3 dfsdf xxx
line4 dfsdf xxx
line5 dfsdf xxx
line6 dfsdf xxx
line7 dfsdf xxx
line8 dfsdf xxx
line9 dfsdf xxx
line10 dfsdf xxx
line11 dfsdf xxx
line12 dfsdf xxx



Example 3 : Standard table => Use this if you need the drag and drop for lines
use_javascript_ajax) && $object->statut == 0) include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php'; ?>
title1title2
a1b1
a2b2