In the "Address" fields of my database, the states are stored as IDs.
So in the ´tb_states´ field, when the value is 1 it means it's Alabama, 2 means Alaska, etc.
How to display them as the state names instead of the database ids in Grocery Crud?
⚠ 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. ⚠
Posted 26 February 2016 - 14:06 PM
In the "Address" fields of my database, the states are stored as IDs.
So in the ´tb_states´ field, when the value is 1 it means it's Alabama, 2 means Alaska, etc.
How to display them as the state names instead of the database ids in Grocery Crud?
Posted 26 February 2016 - 14:21 PM
Ok I figured it out with the callback_column field