5537 Posts in 1737 Topics by 1223 members
|Go to End|
20 January 2014 at 1:32pm
I want to show a custom generated content of a column in my GridField.
The content has to be the result of a query of another model but depending on the value of another column in the same GridField.
I know that this is solved normally with relations, but I can't use this in this case, because the value is not related to the ID.
How can I achieve this?
20 January 2014 at 4:15pm
Simply add a new field name in summary_fields and a method of the same name to your model. GridField will handle calling the method.
20 January 2014 at 10:13pm
Thanks very much
Now it works!
|Go to Top|