Welcome Guest, Not a member yet? Register   Sign In
[URGENT] -- CI DATAGRID
#1

[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 !!
#2

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

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




Theme © iAndrew 2016 - Forum software by © MyBB