The use of $crud->columns(array()) has been giving me trouble. When used it will give blank column fields in the grid. When i comment the $crud->columns line it will show all fields without a problem. I am not for sure but it looks like it is some problem with using it in combination with n_n relationship fields.


Use of $crud->columns() giving empty grids
#1
Posted 11 May 2017 - 09:56 AM
#2
Posted 16 May 2017 - 12:13 PM
https://www.groceryc...nctions/columns
Please refer to the document - it clearly mentions u need to pass multiples of strings not array of strings...rectify the same and your issue will be solved
Happy GCing
#3
Posted 23 May 2017 - 06:24 AM
https://www.groceryc...nctions/columns
Please refer to the document - it clearly mentions u need to pass multiples of strings not array of strings...rectify the same and your issue will be solved
Happy GCing
Thanks for your answer, i have now fixed it with your solution. I don't understand why it uses an array in the example?
Also tagged with one or more of these keywords: columns, set, crud, empty, grid, bug, n_n relationship, many-to-many, relationship
Support →
I have a question →
I have a problem with a callbackStarted by Leandro Oliveira, 02 Sep 2019 ![]() |
|
![]() |
||
Support →
I have a question →
GC with mdbootstrap ??Started by jcasanova, 16 Aug 2019 ![]() |
|
![]() |
||
Support →
Bugs / Issues →
select list value is empty after saveStarted by wit_vivek, 26 Jul 2019 ![]() |
|
![]() |
||
Support →
Grocery CRUD Enterprise →
Ooooops, something went wrong! If you can see this message, this is probably a misconfiguration in Grocery CRUD Enterprise!Started by harshalone, 13 Jul 2019 ![]() |
|
![]() |
||
Support →
I have a question →
How to use multiple databases dynamicallyStarted by neoxixo, 04 Jul 2019 ![]() |
|
![]() |
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users