You are not logged in.
This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.
Pages: 1
Topic closed
How to repeat:
1. Open the control
2. Type some text in cell A1
3. Copy the cell
4. Select range B1:B4
5. Ctrl+V to paste.
Expected: all cells in range B1:B4 are filled with the same text.
Current result: only B1 contains the value.
The culprit is in the following method:
public ReoGridRange SetPartialGridRepeatly(PartialGrid grid, ReoGridRange range)
The c variable is initialized outside both row and column for-loops, while it should be set inside the row for-loop.
Right now, after 1 column repeat, the inner (column) for-loop will never enter again, because c == range.Col2.
I'm looking at version 0.8.5.0 source code, but the problem exists in version 1.0 as well. I imagine the source code is the same.
Offline
Hi, original code of SetPartialGridRepeatly sets the data repeatedly but looks like current version doesn't work properly, I'll check and try to fix this as soon as possible. Thanks for reporting.
You're right the code about this since 0.8.5.0 hasn't been changed.
Offline
This problem has been fixed in 1.1 version and available for download at https://reogrid.net/download/, thanks for reporting.
Offline
Awesome, thanks for fixing!
Offline
Pages: 1
Topic closed