PC Review


Reply
Thread Tools Rate Thread

DataGridView Addition problem

 
 
B. Chernick
Guest
Posts: n/a
 
      3rd Oct 2008
I have a DataGridView on a form (VB/Dot Net 2.0). AllowUserToAddRows = True.
I am perhaps not as familiar with the DGV as I thought, and I think my main
problem at the moment is that I'm not entirely sure what terminolgy to use
here.

Given that, this application is intended for data entry and as such it has
to easy to add large numbers of rows at a time. The problem is that the
first column has to be read-only unless the user is in the add row. That
much I've solved, by using the RowEnter event and changing the Cell.ReadOnly
to False.

That said, once I'm in the editing control (is that the right term?) I would
like the Enter key to behave like a Tab. I've looked at a variety of sources
and I'm getting a bit confused. Anyone else ever have a scenario like this?
What would be simplest?

-------------------------

The point of this is that leaving the editing field, or entering into the
next one (I haven't decided which yet) is suposed to trigger a popup that
allows selection from a list. (A combobox in the grid would not be
practical). Once an item is selected, the row is populated and added and the
entry field is no longer editable. If no match is found, the grid is
supposed to go back to the entry field and allow another try.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Selective addition problem GD Microsoft Access 6 22nd Dec 2008 06:52 AM
Addition problem Barry Microsoft Excel Discussion 2 15th Jun 2008 06:52 PM
Addition problem Mike Microsoft Excel Misc 2 1st Aug 2004 11:53 PM
addition problem Derek Microsoft Dot NET 2 21st Nov 2003 06:39 AM
Differences in manual addition and Excel Addition Jose Rama Microsoft Excel Misc 0 29th Aug 2003 09:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:44 AM.