Hi!
Sometimes scrollbars doesn’t shows, when grid size is small (in my case 317×164), and many dinamic columns (AutoGenerateColumns = true), and ScrollBars=Both.
My code is like:
gridResults.DataSource = dataTableWithManyColumns;
gridResults.Columns[0].Visible = false;
gridResults.Focus();
if(dataTableWithManyColumns.Rows.Count > 0)
gridResults.Rows[0].Selected = true;
If I deselect all columns (in checkboxes menu), and reselect one by one, scrollbars finally shown.
Any advice to force scrollbars to show, or is a bug?
I try but no success with:
gridResults.Refresh();
gridResults.Update();
gridResults.PerformLayout();
gridResults.AutoScroll = true;
Thanks in advance!
Using version 1.3.23
Hi Ser,
thanks for you sample and your hint about the RowHeadersVisible, which seems to be the missing piece to reproduce.
I have now logged WJ-7975 for that bug and we will inform you when it´s fixed.
Best regards
Frank
Please test demo attached.
I noticed that only happens when RowsHeadersVisible = false
Hi Ser,
I have tried to replicate that issue, but couldn´t.
Can you please give me ssome hint about the data table ? How many columns ? How many rows ?
Any chance to provide us with a complete sample or the missing data table content definition ?
Thanks in advance.
Best regards
Frank
Please login first to submit.