Datagrid horizontal scroll

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In datagrid I have a invisible column(width=0) in column styles at the first
position, the horizantal scroll bar doesn't respond when you click the arrow
it sends a small increment with the value of 1. Anybody faced this before?

Dincer
 
When you click on the right arrow button on the horizontal scroll bar, the
DataGrid will scroll to the right by one column. Since the column still
exists in the GridColumnStylesCollection, even though the width is set to
zero, the DataGrid thinks it's still there. If you're hiding the column
because you don't need it, why not just remove it from the collection?
 
Ok if it is as you say then when i click 10 times it should be on the ninth
column;
but it doesn't move even when you click 10 times,We have some generic
behaviour on the first hidden columns of the grid if we remove it ,it will be
a big change for us.

Regards,
Dincer Uyav
 
Back
Top