I'm using CodeIgniter v2.1.0 along with Grocery CRUD v.1.1.7
set_relation seems to work fine when I go to edit/add page (The drop down displays just right).
However, the issue is in the listing page. The column used in the set_relation displays blank. (It's there but with no data in).
I set a 'callback_column' which sets the display right (Instead of ID's let's say, I can display the title/name they reference).
But when set_relation is set, callback_column to the same designated column isn't triggered!
Might be a version incompatibility, as it seems to run fine in your examples.
Please let me know if there's a workaround, or if I've missed something somewhere.


'set_relation' & column issue
Started by Sparkle, Jan 25 2012 04:38 AM
Set a relation set_relation callback_column
2 replies to this topic
#1
Posted 25 January 2012 - 04:38 AM
#2
Posted 25 January 2012 - 10:40 PM
Probably is a version incompatibility in combination with NULL-able fields. In version 1.1.8 I have fixes for 2 BUGS for the set_relation function. Try to update to grocery CRUD v.1.1.8 I think this will solve the problem. Also there is a new interface to the set_relation that you will like a lot.
#3
Posted 30 January 2012 - 10:29 PM
Thanks! Working now. Great new features!
Also tagged with one or more of these keywords: Set a relation, set_relation, callback_column
Support →
I have a question →
Call to undefined method App\Libraries\GroceryCrud::set_relation()Started by ajith1028, 07 Apr 2021 ![]() |
|
![]() |
||
Support →
I have a question →
set relations between tables in different databases, same "domain", same databases passwordsStarted by fede72bari, 15 May 2020 ![]() |
|
![]() |
||
Support →
Bugs / Issues →
fields with set_relation inserts empty when save button (not save and go back to list)Started by troyv, 08 Oct 2019 ![]() |
|
![]() |
||
Support →
Bugs / Issues →
set_relation including where statementStarted by noplan, 18 Mar 2019 ![]() |
|
![]() |
||
Support →
I have a question →
set_relation with where parameterStarted by noplan, 17 Mar 2019 ![]() |
|
![]() |
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users