CodeIgniter Forums
[URGENT] -- CI DATAGRID - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: [URGENT] -- CI DATAGRID (/showthread.php?tid=15929)



[URGENT] -- CI DATAGRID - El Forum - 02-19-2009

[eluser]Unknown[/eluser]
Hello everybody,

I m looking for such a datagrid which I can use in my VIEW, the data comes in the same form as mysql returns but I have included more columns in the data retrieved in my MODEL

so the returned thing i get in my view is

Code:
$result;

currently I am using the following code to display it in table

Code:
<table border="1" width = "700" >
                <tr bgcolor ="grey">
                    <th>No.</th>
                    <th>FB ID</th>
                    <th>Title</th>
                    <th>Description</th>
                    <th>StartTime</th>
                </tr>
        
&lt;?php
        
        $i=1;
        foreach ($result->result() as $value)
        {
            print "<td>".$i."</td>\n";
            print "<td>".$value->FB_UID."</td>\n";
            print "<td>".$value->Title."</td>\n";
            print "<td>".$value->Description."</td>\n";
            print "<td>".$value->StartDateTime."</td>\n";
            print "</tr>\n";
            $i++;
        }    
    
?&gt;

this technique works perfect but i require additional features of a datagrid such as pagination, search, and other basic features

can someone please guide me with this, it is really urgent

looking forward for a good response !!


[URGENT] -- CI DATAGRID - El Forum - 02-19-2009

[eluser]Relexx[/eluser]
try using a JS framework such as jquery, spry, or extjs


[URGENT] -- CI DATAGRID - El Forum - 02-19-2009

[eluser]Référencement Google[/eluser]
Search the forum for Flexigrid.