Maintaining a 2D grid #1956
Unanswered
SevereOverfl0w
asked this question in
Q&A
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.
-
I have a 2D grid of information. I have locations which make up "columns" and widgets which make up "rows". Every column needs an input within the column. My naive solution was to Subscribe to locations in the row, and then display an input for each column.
Making the row an array of inputs doesn't work because it treats the inputs as sparse, due to not calling
pushValueon each row's array when adding a new column. I could potentially manage this using listeners, especially if I had the previous value. This is significantly more difficult for swapValue, etc.I'd be curious to hear solutions for this!
Beta Was this translation helpful? Give feedback.
All reactions