Expand my Community achievements bar.

SOLVED

Expanding table, rows and columns

Avatar

Level 2

I can make my table grow in rows or columns but not in both, when i add a row it will not add the column i have just added and the colum will not include the row i have just added.

does any one know what script i need so the addInstance knows whan i have added a new row or column.

thanks.

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

I have had a look and here is what I have come up with. Each time you add a row or a colum you are chnaging the som expression that is used to add the next row or column. I added a for loop around each call to add the columns/rows as required.

Is this what you were looking for? See the attached file

Paul

View solution in original post

4 Replies

Avatar

Former Community Member

Can you post your sample so we may have a look?

Paul

Avatar

Correct answer by
Former Community Member

I have had a look and here is what I have come up with. Each time you add a row or a colum you are chnaging the som expression that is used to add the next row or column. I added a for loop around each call to add the columns/rows as required.

Is this what you were looking for? See the attached file

Paul

Avatar

Level 2

many thanks for that, been trying to work it out for weeks.

Cheers

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----