When I use SetReadOnly(), it becomes impossibly slow
without SetReadOnly() it takes about 1 second to print all the table (which is excellent btw)
but with SetReadOnly() it has been running for 10 minutes now
Code: Select all
for (int idx_row = 0; idx_row < nbr_rows; idx_row++)
{
for (int idx_col = 0; idx_col < nbr_cols; idx_col++)
{
SetCellValue(idx_row, idx_col, "abc");
SetReadOnly(idx_row, idx_col);
}
}
Is there a way to set "read_only" for all the table in another way, instead of a per cell call?