WebSite-PHP Framework PHP
Multi langues
Mode Ajax simple
Aucun HTML, aucun JavaScript
URL rewrinting
Envoi d'email
Sitemap - RSS - Web service
Télécharger le Framework WebSite-PHP maintenant
 


Loading
 


Tutorial : Advance Table 
with more properties

Tutoriels

>

Tutoriel Table

>

Tutorial : Advance Table with more properties


Table-05: Tutoriel du composants Table du FrameWork PHP WebSite-PHP.

Tutorial : Advance Table with more properties:

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
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com
Zzzz zzzz zzzz@zzzz.com


Retourner aux tutoriels du composants Table



Code source

Code source


Fichier: /pages/tutorials/table/table-05.php

<?php
class Table05 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Advance Table 
                                with more properties"
;
        
        
$this->render = new Table();
        
$this->render->setId("users_table_05");
        
$this->render->activateAdvanceTable();
        
$this->render->setWidth(500);
        
        
$this->render->activateSort(1);
        
$this->render->activateSearch();
        
$this->render->activatePagination(10);
        
$this->render->activateAdvanceTableInfo();
        
        
$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");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
    }
}
?>


Retourner aux tutoriels du composants Table


Share

 


Copyright © 2009-2024 WebSite-PHP Framework PHP
Accueil Documentation Télécharger Quick start Tutoriels Wiki Issue Tracker