Changes between Version 55 and Version 56 of AjaxList


Ignore:
Timestamp:
2010-09-08T16:02:11Z (14 years ago)
Author:
Serge Okon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AjaxList

    v55 v56  
    4040Next, create the following 3 functions in the controller:
    4141{{{
     42#!php
    4243// 1) Sets up the data for the ajax list.
    4344function setUpAjaxList () {
     
    6667}}}
    6768{{{
     69#!php
    6870// 2) Processes an Ajax request from the client.
    6971function ajaxList() {
     
    7577}}}
    7678{{{
     79#!php
    7780// 3) Creates the initial list to display by the client.
    7881function list() {
     
    9295The $columns variable is an array of arrays. Each entry in the top array described a column. Each column entry is an array itself. The is the general format is the following:
    9396{{{
     97#!php
    9498$columns = array(
    9599    array(<Model.column 1>[, <Column Name 1>[, <CSS width of column 1>[, <column 1 type>> [, column 1 type parameters]]]]),