⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Multiple Grids in one page.



php_lover

php_lover
  • profile picture
  • Member

Posted 12 March 2013 - 16:59 PM

My hero y r u quiet


JerothKP

JerothKP
  • profile picture
  • Member

Posted 21 March 2013 - 08:25 AM

Could this be done with multiple databases? I mean, taking data for each grid from a different db than the others.


victor

victor
  • profile picture
  • Member

Posted 21 March 2013 - 09:14 AM

/topic/1440-second-database/?fromsearch=1

peterf

peterf
  • profile picture
  • Member

Posted 23 March 2013 - 17:05 PM

I tried to use this fork, but i have received this error:

Fatal error: Class 'Grocery_crud_multi' not found in F:\wamp\www\my_apps\application\controllers\ .......


victor

victor
  • profile picture
  • Member

Posted 24 March 2013 - 08:40 AM

did you put the file into the library directory?

peterf

peterf
  • profile picture
  • Member

Posted 24 March 2013 - 13:35 PM

yes.


victor

victor
  • profile picture
  • Member

Posted 24 March 2013 - 13:37 PM

do you load the library?

this->load->library('Grocery_crud_multi')


peterf

peterf
  • profile picture
  • Member

Posted 24 March 2013 - 15:59 PM

do you load the library?

this->load->library('Grocery_crud_multi')

 

OK tank you very much.

I do this, and i have received this error:

 

A PHP Error was encountered
 

Severity: Notice


Message: Undefined variable: unic_id


Filename: views/list_template.php


Line Number: 33



 

 


victor

victor
  • profile picture
  • Member

Posted 24 March 2013 - 16:02 PM

because you have this variable in your view file. The variable hasn't value.


peterf

peterf
  • profile picture
  • Member

Posted 24 March 2013 - 16:35 PM

Ok! I solved. Thank you VERY MUCH!


peterf

peterf
  • profile picture
  • Member

Posted 25 March 2013 - 06:57 AM

Excuse me,

it's possible to access to 'sort option' of FIRST grid, to replicate to SECOND grid?

i.e., if user click on column title and sort with this column, or filter with magn. glass, it is possible to replicate to SECOND grid?

Thank you very much.


Mahar Prasetio

Mahar Prasetio
  • profile picture
  • Member

Posted 04 June 2013 - 08:22 AM

hey, how to fix 

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: unic_id

Filename: views/list_template.php

Line Number: 32

 

okay, I've fixed that.

 

but now only one table instead of two table


davidoster

davidoster
  • profile picture
  • Member

Posted 04 June 2013 - 10:00 AM

On top of your controller function put this line:

 

error_reporting(E_ALL ^ E_NOTICE);

 

Make sure you read this: /topic/1660-remember-to-use-the-codeigniter-manual/


davidoster

davidoster
  • profile picture
  • Member

Posted 04 June 2013 - 10:06 AM

Excuse me,

it's possible to access to 'sort option' of FIRST grid, to replicate to SECOND grid?

i.e., if user click on column title and sort with this column, or filter with magn. glass, it is possible to replicate to SECOND grid?

Thank you very much.

 

Hello! Sorry for the late answer. the multigrids is an experimental feature that we try to make it happen. So we don't really know, yet, how it will end up.

But my hunch is that this replication isn't going to happen for the simple reason that the grids are independent from each other.

For a Master/Detail format it might make sense but this remains to be seen.


Peter

Peter
  • profile picture
  • Member

Posted 19 September 2014 - 18:37 PM

Dear web-johnny kindly share working copy of multi grid if you are having, I am using latest codeigniter and GC  , I have downloaded files from github which you shared, I could able to see multiple grids  but problem is with Displaying of records (grocery_crud_default_per_page ) has no effect, and then add record, edit records are not working properly. Kindly do me a favor please....

 

Thank you...

 

-Peter


jfkirkpatrick

jfkirkpatrick
  • profile picture
  • Member

Posted 21 December 2015 - 17:48 PM

A little late to the party but I am interested in this topic.

I have a spreadsheet with events scheduling for 3 separate rooms with a need to prevent both class and instructor conflicts between rooms.  Displaying it as a single grid would be feasible but require more logic than having 3 separate grids displayed vertical instead of horizontal.

Will start following your progress.

John


demenvil

demenvil
  • profile picture
  • Member

Posted 16 December 2019 - 10:36 AM

Hello,

Is it still possible with the current version?

I tried with the data repository but it doesn't seem to work.

thank you


indra

indra
  • profile picture
  • Member

Posted 14 January 2020 - 05:14 AM

how to add export, print, filter, etc in multi grid grocery crud enterprise because my grid is like a standart version?