We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Is there a way to determine if the content displayed is from the last row of a grid?

How Do I?

rjionline's avatar
rjionline
37 posts
8 years ago
rjionline's avatar rjionline

Is there a way to determine if the content displayed is from the last row of a grid? I’m trying to create a list of authors for a bibliography. Some entries have a single author, some have multiple authors. If there are multiple authors, I want to put a comma between the authors’ names. However, I don’t want the comma to display after the last author in the series.

Any suggestions?

ExpressionEngine 2.11.6

       
James Mathias's avatar
James Mathias
225 posts
8 years ago
James Mathias's avatar James Mathias

Hi,

I think this is what you are looking for https://docs.expressionengine.com/v2/add-ons/channel/grid.html#field-total-rows

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.