DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    364

    Question Datagrid Resizing Issue.

    Hello Again,

    1) These datagridview are kicking my backside..! I have a sub that sets the HeaderText and Width of my grids. One for each grid. I doing code behind the click of the main grid so I can populates the others based on what is selected. When I click through the records in the main grid the column widths resize on there own in the other grids.

    2) Lets say my dataset is filling the grid with 4 columns. There always 1 column before the first with data that I can't stand. I've tried selecting the (0) indexed column but this doesn't work. How do I get rid of this column?

    Any ideas about this?

    Thanks in advance!

    jb
    Last edited by jcb1269; 01-24-2007 at 04:25 PM.

  2. #2
    Join Date
    May 2004
    Location
    Duluth MN
    Posts
    353
    datagridview.RowHeadersVisible = False

    ...joe

Similar Threads

  1. Replies: 0
    Last Post: 09-02-2005, 07:28 PM
  2. Replies: 5
    Last Post: 05-04-2005, 12:37 PM
  3. Is there guidelines for proper use of DataGrid
    By Thomas Eyde in forum .NET
    Replies: 8
    Last Post: 08-01-2002, 06:43 PM
  4. Threading and the .NET Datagrid
    By McCleud in forum .NET
    Replies: 2
    Last Post: 08-01-2002, 10:54 AM
  5. Resizing DataGrid columns...
    By Russ Suter in forum .NET
    Replies: 2
    Last Post: 06-28-2002, 09:36 PM

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
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links