I have successfully created a dynamic grid of TextBoxes using the Dynamic Components extension, where I can specify the number of rows and columns, and it generates the appropriate number of TextBoxes arranged in that grid.
to create a grid of 20×4 TextBoxes . The layout and creation work perfectly.
However, I noticed an issue:
When I enter values into some of the TextBoxes and then scroll the arrangement, the values I entered appear to shift to other TextBoxes or get replaced.
How can I ensure that the data entered in each TextBox stays correctly bound to its position, even after scrolling?
The span count is set to 4, meaning there are 4 columns. You can enter a number in the textbox to specify the number of rows. Based on that input, it will generate the corresponding number of rows, each containing 4 textboxes.
here are the cleaned blocks
Enter 50 in the textbox and click the Add button. This will generate 200 dynamic textboxes, arranged in 50 rows and 4 columns. After that, try entering some values in the textboxes and scroll down — you'll notice the issue at that point.
I observed the issue — it actually depends on the OnBindView event. If the data is set during the binding process, it works correctly even while scrolling. However, if I manually change the text in a textbox and then scroll, the old data (set during OnBindView) is automatically restored, overwriting the changes. I’m in the process of implementing a solution, but I’m still facing challenges getting it to function as expected.
I’m working with the Speech Recognizer component. When I speak a number like "4546", I convert it into a list of two-digit numbers — for example, it becomes ["45", "46"]. I would like to display these values in dynamically generated textboxes arranged in a grid , filling them row by row. For instance, "45" goes into the first textbox, "46" into the second, and so on. What would be the best way to implement this?