dbeve Posted April 8, 2008 Report Share Posted April 8, 2008 Hi. I have a request to immediately show the most recent data first in the data grid. However, I do not want the chart to change. It's oldest --> newest date now but scrolls a ways over to the right. Is it possible to get the data grid to start scrolled as far as possible over to the right instead of the left? Thanks! Dave. Quote Link to comment Share on other sites More sharing options...
maximop Posted April 9, 2008 Report Share Posted April 9, 2008 You can use the ScrollPosition property of the DataGrid; this property scrolls the data horizontally to the specific column in the grid. You can do as follows: chart1.DataGrid.Visible = true; chart1.DataGrid.ScrollPosition = 20; The above value will scroll the DataGrid to the 20th column. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.