Width size of columns

Each column can have it's own width size

To determine the size of a column add the size in pixels with a "-" dash before the title of the header of the column in the $td_titles array, make sure to leave at least one without a value, since the total size of the table depends on the screen size of the user, leaving one column without width will automatucally adjust that column to the proper size.

$td_titles = array("
80-NAME,
100-LAST NAME,
50-DOB,
100-EMAIL,
80-TELEPHONE,
NOTES
");

 

Note how NOTES has no size.

OR: 

 

$td_titles = array();
array_push($td_titles,"80-NAME");
array_push($td_titles,"100-LAST NAME");
array_push($td_titles,"50-DOB");
array_push($td_titles,"100-EMAIL");
array_push($td_titles,"80-TELEPHONE");
array_push($td_titles,"NOTES");

 

Advanced

It is recommended to use teh advanced settings for more customizable otions 

We can add more properties like Title, Sort and Width by passing an array on each $td_titles value

 

$th = array(
'name'=> 'DOB',
'title'=> 'Date of Birth', //hover title attribute (optional)
'width'=> 50
);

array_push($td_titles,$th);


or short version:

 

array_push($td_titles,array('name'=> 'DOB','title'=> 'Date Of Birth','width'=> 50));
Get a Quote

Get a Quote