Page 1 of 1

type=grid

PostPosted: Wed Mar 21, 2012 9:26 am
by wisni1rr
I was wondering if there was a way to make a grid show as only one record. I like the way it is set up for the most part but some of my grid fields need to be treated in a 1:1 relation manner.

This may relate:

Can someone explain how to use the __source_tables__ in fields.ini? From what I understand it is a comma delimited list of tables involved with the view. How exactly would you incorporate the fields into you add a new record form?

Thanks for you help!

Re: type=grid

PostPosted: Wed Mar 21, 2012 9:31 pm
by shannah
Right now I don't have a good solution for 1:1. The __source_tables__ directive is more for caching than anything else.
I'm working on an ajax form module currently for 2.0 that will make form much more flexible, including allowing editing of related fields.

Steve

Re: type=grid

PostPosted: Thu Mar 22, 2012 8:44 am
by wisni1rr
Thanks for the update, Steve!

Is there a way I can just add fields to my new/edit record form from related records? Just like the regular new/edit record form with amended field inputs.