Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the Datagrid don't display #34

Open
gwadity opened this issue Jun 15, 2016 · 0 comments
Open

the Datagrid don't display #34

gwadity opened this issue Jun 15, 2016 · 0 comments

Comments

@gwadity
Copy link

gwadity commented Jun 15, 2016

Hi,

I want to display the data of a table with the next columns

  • id
  • name
  • countryId
    And the column 'countryId' is an integer but in the example country is an string
    i don't know what i hav to write
  • $grid->addColumn('countryId', 'Country', 'integer', fetch_pairs($mysqli,'SELECT id, name FROM Country'),true );
  • $grid->addColumn('countryId', 'Country', 'string', fetch_pairs($mysqli,'SELECT id, name FROM Country'),true );
    When I test one of the two codes, the datagrid don't display.

What have I to do ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant