Results 1 to 3 of 3

Thread: Datagridview does not detect scrollbars

  1. #1
    Join Date
    Nov 2008
    Posts
    240

    Datagridview does not detect scrollbars

    I have created form in which i have done for horizontal and for vertical scrollbar to move. when i execute that form on web browser no scroll bars appear. but while doing this i do understand one thing that if you have columns which extend beyond the DataGridView window, the horizontal scrollbar is never displayed. The vertical scrollbar displays, but the horizontal bar never displays. I've tried with the scrollbar settings set multiple ways.Can anyone help me in this case.

  2. #2
    Join Date
    Mar 2008
    Posts
    258

    Re: Datagridview does not detect scrollbars

    While designing your datagrid have you used Designer View to modify the Frozen property of a column somewhere on the DGV,this is because the column which we develop mostly keep on the left of all other columns which we do not want to be Frozen. The IDE will automatically enable the Frozen property for all columns to the left of the newly Frozen column.

    And about the horizontal scrollbar which will not be displayed unless non-frozen columns can be seen on the right of the DGV. This problem we need to think about while placing the content with the scrollbar because I had this problem previously because I accendentally moved a frozen column to the right-most position of my DGV - and the h-scroll bars stopped displaying.

  3. #3
    Join Date
    Jan 2006
    Posts
    211

    Re: Datagridview does not detect scrollbars

    Select the DataGridView properties which you wanted to change there will be an 'Enable' option under Behaviour title which is by default set with the value 'TRUE' but if you changed it FALSE then also you would not be able to see your Scroll Bar.

    This will also be one of the tricky way through which you could not see you Datagridview if you had used dataGrid View over panel then make panel AutoScroll 'TRUE' under Layout.I had tested it for charts scroll bar but may be it is applicable for DataGridView also.

Similar Threads

  1. How to change the look or appearance of scrollbars in windows XP
    By samborichie in forum Windows XP Support
    Replies: 2
    Last Post: 26-09-2012, 03:35 AM
  2. Delphi, TWebBrowser, Disable Scrollbars???
    By alex198555 in forum Software Development
    Replies: 4
    Last Post: 26-07-2010, 11:02 PM
  3. How to add scrollbars in C#?
    By MELTRONICS in forum Software Development
    Replies: 4
    Last Post: 23-01-2010, 04:50 PM
  4. Insert DataGridview into database
    By Neil'o in forum Software Development
    Replies: 3
    Last Post: 24-09-2009, 11:28 AM
  5. Move Rows of Datagridview In VB.Net
    By Ariadne in forum Software Development
    Replies: 2
    Last Post: 22-01-2009, 10:40 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,263,486.73365 seconds with 16 queries