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.
in Version “0.8.9.2”, MaxContentRow and MaxContentCol does not return the user filled last row index/number and column index/number.
Instead of this, it returns the last row and last column of sheet, whether its filled or not.
Kindly fix it asap. Its urgent
Offline
OK, thanks for the report. Will fix this as soon as possible, and make the next release once it done.
Offline
When I can expect this to be released? as I am stuck with this. I had no idea your product is not mature yet.
Offline
I couldn't confirm this problem, MaxContentRow and MaxContentCol return expected value. Did you have borders on worksheet? borders will affect that values.
Offline
Kindly check this scenario;
1) Default rows for worksheet = 20
2) User enters values in just first 5 rows
Here CurrentWorksheet.MaxContentRow should return "5" or "4" (Index/Row# of last entered row)
Offline
grid.CurrentWorksheet.Rows = 20;
grid.CurrentWorksheet[5, 0] = "hello";
MessageBox.Show(grid.CurrentWorksheet.MaxContentRow + "," + grid.CurrentWorksheet.MaxContentCol);
The result is 5,0.
I tried edit at 10 row, and it returns 9,0.
Please tell me your use case, or provide some code.
Offline
I got it. Below line was the issue as I had set ReoGridRange.EntireRange;
sheet.SetRangeDataFormat(ReoGridRange.EntireRange, CellDataFormatFlag.Number, null);
Thanks for your quick response and support.
Offline
You are welcome!
Offline