Is there a way to display the id key of a table in the grid?
I have a table of orders whose primary key is the order id and I need to display it in the grid
post by Pedro on Mar 8, 2024
post by johnny on Mar 9, 2024
Hello @Pedro ,
You can specify the primary key from the columns function columns | Grocery CRUD - A PHP CRUD Generator Library
Let me know if that worked for you.
Regards
Johnny
post by tio on Mar 12, 2024
Hi!
I’m having the same issue. I tried to add the primary key field via the columns function, but it’s not shown.
Any idea to fix it?
Thanks! ![]()
post by Pedro on Mar 12, 2024
post by johnny on Mar 15, 2024
Hello @Pedro , @tio this is probably because the columns are cached. Can you try removing your application cache? As also per link Clearing the Cache in Your Browser - HelpDocs Support
You can do that with the following steps:
- Click the Chrome Menu button in the top right corner
- Hover over More Tools
- Click Developer Tools
- In the top menu of developer tools, click Application
- In the left side menu, click Clear storage
- Scroll to the bottom of the page and tick Cache storage and Application cache under Cache
- Press Clear site data
post by Pedro on Mar 15, 2024
EXCELLENT, works perfectly!
New & Unread Topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Setting quick search values via JavaScript not working properly for booleans |
|
0 | 563 | Nov 2025 |
| callbackColumn() has not effect in v3.2.6 Enterprise |
|
2 | 696 | Dec 2025 |
| displayAs() doesn’t support new line in headings |
|
4 | 871 | Jan 5 |
| Inline edit has problems if the column width is set |
|
2 | 842 | Feb 28 |
| PRINT date format not consistent |
|
6 | 354 | Sep 7 |

