Welcome Guest, Not a member yet? Register   Sign In
Looking for ajax + table example
#1

[eluser]il_dandi[/eluser]
Hi!! I'm looking for a codeigniter example with a table + sorting columns (ajax based) and add new record

Somedoby can help me??

Thanks!!!
#2

[eluser]pistolPete[/eluser]
Did you have a look at Flexigrid CodeIgniter Implementation?
#3

[eluser]il_dandi[/eluser]
Thanks for suggestion!! Can you tell me how Can I add these files to my project for see a table example?


Thanks
#4

[eluser]il_dandi[/eluser]
Sorry!! It's OK!!

I've only this problem

I see an empty table

I'm using the DB in database.php file

and I've added the country table

thanks!!
#5

[eluser]pistolPete[/eluser]
[quote author="il_dandi" date="1235531969"]I'm using the DB in database.php file[/quote]
Don't know what you mean, have you configured your database correctly?
Where did you insert the table "country" ?
Do you get any error messages?
#6

[eluser]il_dandi[/eluser]
I've created now DB named life
in my config/database.php file I've
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "root";
$db['default']['password'] = "root";
$db['default']['database'] = "life";
$db['default']['dbdriver'] = "mysql";

I've create new country table in my life DB

and now??


Thanks
#7

[eluser]il_dandi[/eluser]
Why can't see records in my grid?


Thanks
#8

[eluser]pistolPete[/eluser]
Load the page in Firefox and have a look at the http requests using Firebug.
Are there any e.g. 404 errors?
Enable CI logging and search the log for error messages.
#9

[eluser]il_dandi[/eluser]
I dont' see error in debug console of FF.

I read your link but I don't know how to enable the CI loggig. Can you tell me the page that I've to create or modify?

Thanks
#10

[eluser]pistolPete[/eluser]
In file ./system/application/config/config.php set:
Code:
$config['log_threshold'] = 2;

Be sure your logging directory (normally ./system/logs/) is writeable!




Theme © iAndrew 2016 - Forum software by © MyBB