那你可以先将滚动条隐藏,选中最后一行后再将滚动条显示
- c1FlexGrid1.ScrollBars = ScrollBars.None;
- BindingList<Product> blist = MyData.GetProductList(200000);
- c1FlexGrid1.DataSource = blist;
- c1FlexGrid1.Select(c1FlexGrid1.Rows.Count - 1, 0, c1FlexGrid1.Rows.Count - 1, 0, true);
- c1FlexGrid1.ScrollBars = ScrollBars.Both;
复制代码 |