Good Morning Guys,
How would one create an action to insert a row into a table.
I have a Table view that has quick edits enabled and have the ability to add, edit, and delete rows.
Problem is, if there is a row that needs to be inserted 5 down, currantly the user needs to delete everything up and too the 5th row, and redo the rest. Looking for a way to select a row and insert row above/below.
Any help would be appreciated
Thanks,
Solved! Go to Solution.
(max(rows[sequence]) + 1)
([sequence] + 1)
orderby(
filter(
"rows",
([_thisrow].[sequence] = [sequence])
),
[_rownumber],
true
)
(
orderby(
filter(
"rows",
([_thisrow].[sequence] = [sequence])
),
[_rownumber],
true
)
- list([_thisrow])
)
top(
orderby(
filter(
"rows",
(([_thisrow].[sequence] + 1) = [sequence])
),
[_rownumber],
true
),
1
)
isnotblank(
filter(
"rows",
([_thisrow].[sequence] = [sequence])
)
- list([_thisrow])
)
linktoform(
"rows_Form",
"sequence",
(
any(
sort(
select(
rows[sequence],
([sequence] < [_thisrow].[sequence])
),
true
)
+ list([sequence] - 1)
)
+ 1
)
)
User | Count |
---|---|
43 | |
27 | |
24 | |
23 | |
13 |