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.
Version: 0.8.6.2
1:when grid have only one column, I use grid.DeleteCols(0,1) to delete this column, throw an exception.
2: select all cells, click 'Text Wrap' button, click 'Text Wrap' button again to remove text wrap,an error occured.
Offline
Thanks for report!
1. Grid must have at least one cell (one row or one column), but exceptions should be handled in Editor.
2. Bugs in remove styles processing. (Missing null reference checking)
They will be fixed in next version.
Offline
Hello Jing:
I Find a new Bug, version:0.8.6.2:
When I double click mouse out of all grid range, throw an exception,how can I solve this problem?
thank you!
Offline
Try this code:
grid.FocusPosChanged += (s, e) =>
{
var pos = grid.FocusPos;
if (pos.Row >= grid.RowCount)
pos.Row = grid.RowCount - 1;
if (pos.Col >= grid.ColumnCount)
pos.Col = grid.ColumnCount - 1;
if (grid.FocusPos != pos) grid.FocusPos = pos;
};
Offline