Add a line reference number to Grid views #608
LeighBerrell
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I did this with JS, but I would have preferred to do it using a KTL keyword. The idea is to prepend a column to grid views, with an ascending counter, so that you can easily refer to "row 26" or "Action item 14" or whatever - makes it easier to reference a specific row either on screen or in a print/PDF. Lots of use cases where having the rows sequentially numbered would be useful. I know of no native way in Knack to do this.
Suggested code, from Claude, if it helps. Works fine for me.
Beta Was this translation helpful? Give feedback.
All reactions