Examples

Separate

You can build each components of the table separatly, all you need to do is tell to the display method wich one you want.

form_init - initialization of the form plus the hidden variables
search - search component
items_per_page - items per page component
table - all the html of table (tbody and thead included)
thead - just the thead of the table
tbody - just the tbody of the table
actions - actions component
pager - pager component
form_final - finalization of the form
javascript - javascript with the initialization of some necessary variables

$out=$ct->display('form_init,search,items_per_page,table,actions,pager,form_final,javascript');

$out['form_init']=...; // form initialization
$out['search']=...; // search component
$out['items_per_page']=...; // items per page component
$out['table']=...; // all table (table header and table body)
$out['body']=...; // table body
$out['pager']=...; // pager
$out['form_final']=...; // form finalization
$out['javascript']=...; // javascript block for some initializations

IMDb Top 250

Search...
RankRatingTitleVotes
19.1The Shawshank Redemption (1994)489048
29.1The Godfather (1972)392126
39.0The Godfather: Part II (1974)232161
48.9Il buono, il brutto, il cattivo. (1966)148969
58.9Pulp Fiction (1994)396749
68.8Schindler's List (1993)262551
78.812 Angry Men (1957)109861
88.8One Flew Over the Cuckoo's Nest (1975)202689
98.8Star Wars: Episode V - The Empire Strikes Back (1980)265556
108.8The Dark Knight (2008)436120
Total: 250Page: 1 of 25