[Mono-bugs] [Bug 625214] New: ScrollBars.None prevents to show last row of DataGridView

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jul 23 13:54:12 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=625214

http://bugzilla.novell.com/show_bug.cgi?id=625214#c0


           Summary: ScrollBars.None prevents to show last row of
                    DataGridView
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: larlxz at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User
           Blocker: No


Created an attachment (id=378128)
 --> (http://bugzilla.novell.com/attachment.cgi?id=378128)
Source Code of the form

Description of Problem:

When DataGridView.ScrollBars = Scrollbars.None, then the DataGridView does not
show the last row.

Steps to reproduce the problem:

1. Press the button called "Add" to add a row.
2. Keep pressing the button called "Add" to see how the list is growing and the
grid keeps showing the last row when the scrollbar is visible. It works fine.
3. Now, press the button called "Bars" to set the ScrollBars to
"Scrollbars.None". The Scrollbar will disappear.
4. Continue pressing the button called "Add" to see that the grid won't show
the last row.


Actual Results:

The DataGridView does not show the last row.

Expected Results:

The DataGridView must show the last row in the display area.

Build Date & Platform:

Build 2010-07-23 on Ubuntu 10.04

How often does this happen? 

Always

Ubuntu 10.04
Mono 2.4.4

Windows
Mono 2.6.7

Additional Information:

Does not occur on Windows with .NET Framework

Windows 2000, XP, Vista, 7, etc.
NET Framework 2.0, 3.5 and 4.0

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list