Whitspace in datagridview cell


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Whitspace in datagridview cell

  1. #1
    Join Date
    Jul 2004
    Posts
    366

    Question Whitspace in datagridview cell

    I've noticed that if the entire cell is not filled then you have to select a piece of the cell that actually has data or you don't get a value for that cell. When ever I click on the whitespace in a cell It doesn't give me the value of that cell. Any ideas?

    Thanks All..

    jb

  2. #2
    Join Date
    Jul 2004
    Posts
    366

    Unhappy Omg

    I put the code in the CellContentClick event, not the Click event. It works fine now.

    jb

Similar Threads

  1. Color DataGridView cell on exception
    By jellyfish5000 in forum .NET
    Replies: 2
    Last Post: 03-01-2007, 09:29 AM
  2. DataGridView Returning Values from Cells
    By triley35 in forum .NET
    Replies: 1
    Last Post: 07-08-2006, 01:34 AM
  3. Replies: 1
    Last Post: 09-27-2005, 10:48 PM
  4. cell color onclick
    By Mark Taylor in forum Architecture and Design
    Replies: 1
    Last Post: 10-25-2000, 08:21 PM
  5. cell color onclick
    By Mark Taylor in forum Web
    Replies: 0
    Last Post: 10-24-2000, 11:08 AM

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center