EE4 compatibility updates:

  • Publisher is EE4 and EE5 compatible, but it does not currently support the Fluid field.
  • Reel is EE4 and EE5 compatible, but it does not currently support the Fluid field.

Ticket: Counts or First/Last Variables for Columns

Status Open
Add-on / Version Simple Grids & Tables 1.0.2
Severity
EE Version 5.0.1

Jarod Clark

Nov 29, 2018

Hey I’m working with the Simple Grids/Tables field to build a dynamic table setup in Bloqs. The issue I’m running into is there are a bunch of variables for working with things on a row level, but nothing on the column level.

In this case, I need to apply some different classes & content to the first cell in a row, and I don’t see any available variables to do that with. {count} increments on the row level, as does {index}.

There are variables for {is_first_row} and {is_last_row}, but nothing for columns. Would really hate to have to drop to PHP for this. It would also be great to get some kind of {total_cols} variable. Would be great if this could be added, or if you have any other thoughts on how to accomplish this.

#1

BoldMinded (Brian)

Nov 29, 2018

This seems like a good thing to have. 

I’ve added the following vars:

{total_columns}
{col_count}
{col_index}
{is_first_col}
{is_last_col}
{row_count}
{row_index} 
#2

BoldMinded (Brian)

Nov 29, 2018

Comment has been marked private.

#3

Jarod Clark

Nov 30, 2018

Just installed. Works great so far. Thanks!

#4

BoldMinded (Brian)

Nov 30, 2018

Excellent! I’ll get this out in the next release.

Login to reply

Contact

For add-on support, please use the Support section. General inquries and pre-sale questions can be sent to support@boldminded.com.