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 →
Grocery CRUD Enterprise →
Float field type - negative valuesStarted by Sorin Sfirlogea, 03 Jan 2021 ![]() |
|
![]() |
||
Support →
Grocery CRUD Enterprise →
Clear - Reset Sort by ColumnStarted by dbarros, 10 Feb 2020 ![]() |
|
![]() |
||
Support →
Grocery CRUD Enterprise →
How to Multi Grid Grocery CRUD EnterpriseStarted by indra, 10 Jan 2020 ![]() |
|
![]() |
||
Support →
I have a question →
CSRF Regenerate Not WorkingStarted by satheesh, 10 Dec 2019 ![]() |
|
![]() |
||
Support →
I have a question →
I have a problem with a callbackStarted by Leandro Oliveira, 02 Sep 2019 ![]() |
|
![]() |
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users