PC Review


Reply
Thread Tools Rate Thread

Datagrid horizontal scroll

 
 
=?Utf-8?B?RGluY2VyIFV5YXY=?=
Guest
Posts: n/a
 
      21st Oct 2004
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
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGluY2VyIFV5YXY=?=
Guest
Posts: n/a
 
      21st Oct 2004
And when you change the column width from 0 to 1,it works properly
 
Reply With Quote
 
=?Utf-8?B?Q2hyaXMgU2Fubw==?=
Guest
Posts: n/a
 
      22nd Oct 2004

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?

"Dincer Uyav" wrote:

> 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

 
Reply With Quote
 
=?Utf-8?B?RGluY2VyIFV5YXY=?=
Guest
Posts: n/a
 
      22nd Oct 2004
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

"Chris Sano" wrote:

>
> 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?
>
> "Dincer Uyav" wrote:
>
> > 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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGrid & Horizontal Scroll Bar vijay Microsoft Dot NET Compact Framework 1 12th Nov 2007 09:16 PM
How can i make the horizontal scroll scroll to end of page? trint Microsoft C# .NET 1 9th May 2007 08:07 PM
DataGrid Horizontal Scroll Bar problem Grant Smith Microsoft VB .NET 2 11th Jan 2005 07:17 PM
DataGrid - Vertical/Horizontal scroll sumit Microsoft ASP .NET 3 18th Nov 2003 09:14 PM
datagrid horizontal scroll bar QT Microsoft Dot NET 0 31st Aug 2003 01:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:02 AM.