DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2006
    Location
    PA
    Posts
    259

    small datagrid data display problem

    Hi I'm using a datagrid but for some reason the text gets wrapped and I end up with these long cells instead of wide ones . help please

  2. #2
    Join Date
    May 2006
    Posts
    64
    Private Sub grdCrossKeyWord_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles grdCrossKeyWord.PreRender
    grdCrossKeyWord.Columns(1).ItemStyle.Width = Unit.Pixel(24)
    grdCrossKeyWord.Columns(2).ItemStyle.Width = Unit.Pixel(24)
    End Sub


    http://www.programmingknowledge.com/

Similar Threads

  1. Problem with Data
    By madhulatha_b in forum VB Classic
    Replies: 3
    Last Post: 12-20-2006, 09:38 AM
  2. DataGrid problem
    By Kevin Doherty in forum .NET
    Replies: 1
    Last Post: 02-17-2002, 08:06 PM
  3. Data List Control Problem
    By John in forum VB Classic
    Replies: 0
    Last Post: 10-12-2001, 05:09 PM
  4. Replies: 0
    Last Post: 11-02-2000, 08:54 AM
  5. Problem when scrolling a Datagrid with arrow keys
    By Ray Wood in forum VB Classic
    Replies: 0
    Last Post: 05-08-2000, 04:26 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