Posts Tagged "listview"

Simple Checkbox ListView Using DataView In ExtJS

September 20th, 2010 by aditia rahman / 7 Comments  

     

In this post I want to share how to create listview using dataview in ExtJS, although there is available listview example on the official site, somewhat maybe you to make the different listview, I get the idea when my friend Erwin Draft asking me how to do this, thanks for the idea.

Here the backend PHP code, I called get-data.php

<?php

$data = array();

for ($i = 1; $i <= 10; $i++) {
    $data[] = array(
        'id' => $i,
        'message' => 'Raw data number ' . $i
    );
}

$o = array('data' => $data);

echo json_encode($o);

?>