Part of the EllisLab Network
   
3 of 14
3
Flexigrid CodeIgniter Implementation
Posted: 26 September 2008 08:15 AM   [ Ignore ]   [ # 21 ]  
Summer Student
Total Posts:  3
Joined  09-26-2008

hi there,

at first i must say very nice work smile sadly at implementing the example code i have some (small) problem which i dont get solved. running the example application i dont get any content into the grid. when i run the ajax controller itself i get the complete output from the database that is queried. so on the connection side to the database there seems to be no problem.

so the problem that nothing is displayed must be either at creating the json output or reading/parsing it. at least i think so.

i hope someone of you can help me to fix it cause i really like to use it wink


edit:
i have the problem when i use firefox as browser. when displaying the example on ie i get the content in the grid, but i have to allow IE to get content from external data (there is a popup). the strange thing is when i run the demo on the example page (http://flexigrid.eyeviewdesign.com) it works with firefox and i theres also no popup on IE.

Profile
 
 
Posted: 27 September 2008 02:30 AM   [ Ignore ]   [ # 22 ]  
Summer Student
Avatar
Total Posts:  23
Joined  08-28-2008

hi, i’m having problem with the noConflict() thingy for prototype

please help.. :(

great stuff by the way smile

 Signature 

http://www.ikawka.com/

Profile
 
 
Posted: 27 September 2008 04:49 AM   [ Ignore ]   [ # 23 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  249
Joined  03-31-2007

@pixelazion - change all the $ signs to jQuery

Profile
 
 
Posted: 27 September 2008 05:37 AM   [ Ignore ]   [ # 24 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  145
Joined  10-18-2007

hello thor,

Can you tell me what kind of URL you are using to access the application? Like http://localhost/CodeIgniter/index.php/?

 Signature 

Eye View Design - Creative Web Solutions
CI FlexiGrid - FlexiGrid on CI Implementation (Deprecated)

Profile
 
 
Posted: 28 September 2008 02:03 AM   [ Ignore ]   [ # 25 ]  
Summer Student
Avatar
Total Posts:  23
Joined  08-28-2008
manilodisan - 27 September 2008 08:49 AM

@pixelazion - change all the $ signs to jQuery

yes, i kind of did that but, still gives me an error, and grid is not displaying the data. i’m gonna try again.

tnx for the reply

 Signature 

http://www.ikawka.com/

Profile
 
 
Posted: 29 September 2008 02:18 AM   [ Ignore ]   [ # 26 ]  
Summer Student
Total Posts:  3
Joined  09-26-2008
Armorfist - 27 September 2008 09:37 AM

hello thor,

Can you tell me what kind of URL you are using to access the application? Like http://localhost/CodeIgniter/index.php/?

url was http://127.0.0.1/flexgrid/index.php/....

and that was the problem. changed base_url from 127.0.0.1 to localhost tongue rolleye

Profile
 
 
Posted: 29 September 2008 05:00 AM   [ Ignore ]   [ # 27 ]  
Grad Student
Avatar
Rank
Total Posts:  79
Joined  03-02-2008

Can you make this grid pagination less, like live or rico grid demo here http://openrico.org/demos/livegrid

 Signature 

Geshan Manandhar
http://geshan.blogspot.com

Profile
 
 
Posted: 02 October 2008 07:25 PM   [ Ignore ]   [ # 28 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  145
Joined  10-18-2007
geshan - 29 September 2008 09:00 AM

Can you make this grid pagination less, like live or rico grid demo here http://openrico.org/demos/livegrid[/quot.e]

Yes you can, edit the helper file, under helpers/flexigrid_helper.php, and on line 47 change
$grid_js .= “usepager: true,”;
to
$grid_js .= “usepager: false,”;

It will remove the pagination.

 Signature 

Eye View Design - Creative Web Solutions
CI FlexiGrid - FlexiGrid on CI Implementation (Deprecated)

Profile
 
 
Posted: 02 October 2008 07:27 PM   [ Ignore ]   [ # 29 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  145
Joined  10-18-2007

Just added the json_encode functionality for those who have JSON PHP Extension installed and updated documentation. You can still use the old system, however I highly recommend to update if you have this extension.

Download - http://flexigrid.eyeviewdesign.com/
Documentation - http://flexigrid.eyeviewdesign.com/index.php/flexigrid/example#s3

*EDIT*
There is a bug when there are no records to display. I’m fixing this tomorrow.

 Signature 

Eye View Design - Creative Web Solutions
CI FlexiGrid - FlexiGrid on CI Implementation (Deprecated)

Profile
 
 
Posted: 29 October 2008 05:25 AM   [ Ignore ]   [ # 30 ]  
Summer Student
Avatar
Total Posts:  10
Joined  10-28-2008

Hi,

First of all thanks very much for this implementation. I have tried to run this however I am getting the following error

Fatal error: Call to undefined function site_url() in D:\xampp\htdocs\CodeIgniter\system\application\controllers\flexigrid.php on line 58

Can some one help me?

Regards
Narayanan

Profile
 
 
   
3 of 14
3
 
‹‹ DataMapper 1.6.0      Freshbooks Class ››