Omgili - forum search, search forums  
  

Discussions about datagridview cells

Displaying 1 - 10 out of 810 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Can anyone show me some code of how I could bypass read only cells in DatagridView when pressing TAB key?
Started by on , 5 posts by 5 people.  
The....
(See the SelectionChanged event is the right approach.
Optionally override WndProc to filter mouse clicks on readonly cells.
No solution for this? Overriding-readonly cell.
I asked about DataGridView cells and not rows.
I have a DataGridView that has MultiSelect = true. After the user selects different cells from different rows how can I get the value of all the selected cells? is it using a foreach() or a simple build in method?
Started by on , 3 posts by 3 people.  
For (int i = 0; i < = grid.SelectedCells[i].Value; } You... .
Iterate based on that and it'll be faster.
There is a method you can use to get the count of the selected cells.
Collection is inefficient with large selections in DataGridView.
Hi. I need to recieve the key press events during cell editing in DataGridView control. From what I have found on the net the DataGridView is designed to pass all key events from DataGridView to the cell editing control and you cannot get these events...
Started by on , 9 posts by 7 people.  
To use doesn't come in How to call that class in my dataGridView, in which event, because when im on first cell or the control itself....
Here's my code.
From cell editing control and getting keys from the DataGridView itself.
Ask your Facebook Friends
What is the cleanest way to ask a DataGridView to return "indexes of rows that have selected cells"? This is not the same as DataGridView.SelectedRows. I don't allow Row or Column selection. So users must select blocks of cells. I just need to find out...
Started by on , 3 posts by 3 people.  
LINQ solution: var rowIndexes = dgv.SelectedCells.Cast<DataGridViewCell>() .Select(cell =>.
I've found questions similar on SO already, all over the net actually. Though I haven't found a working answer yet. So I'm working in a windows form application using Visual studio 2008. Language is C# I have a DataGridView that is not bound to a DataSource...
Started by on , 3 posts by 3 people.  
Note: "dgUsers" is the name of my DataGridView for (int i = 0; i <You could to override your Page Render event, render your DataGridView into a StringBuilder].Cells[i].Value = ""; } } I ....
Clearing every cell I encounter.
The following code throws an InvalidOperationException with the above message and I don't understand why. My code calls the following method when the user may have made changes to the datagridview's underlying data source. The goal is to update the display...
Started by on , 3 posts by 3 people.  
So I can't hang on to a column reference across DataGridViewAutoFilterColumnHeaderCell nad... .
It's become clear to me that rebinding the datagridview's datasource destroys all the columns in the datagridview and creates new ones.
Never mind.
I am trying to support editing multiple cells on a datagridview. I am nearly complete, as it correctly copies the contents to other cells when the editing is done. What I am working on now is capturing the first key pressed. When I am editing just one...
Started by on , 3 posts by 3 people.  
Private void dataGridView_KeyDown(Object.
DataGridViewCellCancelEventArgs e) { DataGridViewCell cell = Grid1.Rows[e.RowIndex].Cells[e.ColumnIndexMay be it is sufficent to mark the key as not handled.
Hi, I have a dataGridView displaying data from DataView based on DataTable. DataTable is updated with high frequency from a background thread (usually one row a time) but with varying regularity, i.e. sometimes time between updates is 0.5 ms, other few...
Started by on , 6 posts by 4 people.  
Running, and use GUI datagridview as a background helper thread to visualize what is currently), datagridview gets updated but with those issues which I described at the beginning the best Martin Can I query: you have a DataTable you have....
Is it possible to give individual cells in a data grid view row different styles such as backcolor, fontcolor etc? I do not mean giving the whole row a new style, only a specific cell.
Started by on , 4 posts by 4 people.  
Example below shows how you could add a mouse over event to effect the cell", "this.style.fontWeight='Bold'") End If End Sub certainly: Me.myDatagridview.Rows(0).Cells(0.
Attributes.Add function.
How do I find a cell with a specific content in a DataGridView?
Started by on , 3 posts by 3 people.  
I dont know of a way to find a cell by content so you'll have to iterate through the cells and look, literal, checkbox, etc) inside cells or go through them by index GridView.Rows.Cells[index] Edit on, you will have to iterate through....
Page: 1   2   3   4   5   6   7   8   9   10  
Related Searches
datagridview cell right-click contextmenustrip   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost