⚠ 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

Table does not display data



razvstar
  • profile picture
  • Member

Posted 05 November 2013 - 20:44 PM

Hello,

 

I have been modifying the example provided in the grocery-crud-1.4.1.zip file.

 

I have changed the database and when I try to view data from database, the generated table shows the exact number of rows, but no data.

I have tried on Firefox, Chrome and IE (latest versions for each one) and with different themes (datatables, twitter-bootstrap, flexigrid) and the issue does reproduce everytime.

 

If i click the View button, the data for the selected row is displayed correctly.

 

I will attach a file to show this behavior.

 

Does anybody know how to resolve this issue?

Thanks.


razvstar
  • profile picture
  • Member

Posted 06 November 2013 - 09:41 AM

EDIT:

 

The issue reproduces only if not all the columns from database table are displayed in rendered table.


edramirez
  • profile picture
  • Member

Posted 07 November 2013 - 16:44 PM

It might help if you could provide the following images:

 

(1) the structure of the table Reteta - as seen inside phpmyadmin

(2) the contents of the table Reteta - as seen inside phpmyadmin

(3) the entire controller for the Reteta CRUD

(4) the image of the if all the columns are displayed for the Reteta table

 

With those images and code, we could be able to pinpoint the problem accurately.

 

Ed