⚠ 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

column as link to another view



dux

dux
  • profile picture
  • Member

Posted 19 July 2013 - 14:23 PM

im working with this project and i want to make one of my field column as a link to view the details of another table.. e.g. i have 2 tables -res_info and status_info, my PK in status_info is a FK to my res_info.. when i click on the column statusID in my res_info, a new view will display the contents of my status_info table.. is this possible using grocery crud?


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 19 July 2013 - 19:53 PM

Hi Dux,

 

Yes what you asking is quite possible with Grocerycrud. You have to use column callback and there you need to return the appropriate (htmlized a href content) that links to the details section. This should definitely do for your current requirement.


dux

dux
  • profile picture
  • Member

Posted 20 July 2013 - 03:45 AM

thanks amit.. you've been very helpful