WebSite-PHP Framework PHP
Multi language
Simple Ajax mode
No HTML, no JavaScript
URL rewriting
Mail sending
Sitemap - RSS - Web service
Download WebSite-PHP FrameWork now
 


Loading
 


Tutorial : Advance Table

Tutorials

>

Tutorial Table

>

Tutorial : Advance Table


Table-04: Tutorial of the composant Table of the PHP FrameWork WebSite-PHP.

Tutorial : Advance Table:

Name Login Email
Toto toto toto@toto.com
Tata tata tata@tata.com
Titi titi titi@titi.com
Aaaa aaaa aaaa@aaaa.com
Zzzz zzzz zzzz@zzzz.com


Go back to tutorial of the componant Table



Source code

Source code


File: /pages/tutorials/table/table-04.php

<?php
class Table04 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Advance Table";
        
        
$this->render = new Table();
        
$this->render->setId("users_table_04");
        
$this->render->activateAdvanceTable();
        
$this->render->setWidth(400);
        
        
$header $this->render->addRowColumns("Name""Login""Email");
        
$header->setHeaderClass(0);
        
        
$this->render->addRowColumns("Toto""toto""toto@toto.com");
        
$this->render->addRowColumns("Tata""tata""tata@tata.com");
        
$this->render->addRowColumns("Titi""titi""titi@titi.com");
        
$this->render->addRowColumns("Aaaa""aaaa""aaaa@aaaa.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
    }
}
?>


Go back to tutorial of the componant Table


Share

 


Copyright © 2009-2024 WebSite-PHP Framework PHP
Home Documentation Download Quick start Tutorials Wiki Issue Tracker