No announcements
Found 2808725 threads
-
0 Votes
DataGridView CellFormatting or cell Painting when column is visible=false
hello, the problem is that when the datagridview cell formating event is fire . it can handle only the cells that are visible true .for any ...Answered | 6 Replies | 8643 Views | Created by stelios84 - Friday, March 9, 2012 3:50 PM | Last reply by Kareninstructor - Monday, March 12, 2012 1:30 PM -
0 Votes
DataGridView column painting
drawing this line. That is that when I scroll the horzontal scroll bar a few pixels (so the first column displayed is not completely visible), the drawed ...Answered | 1 Replies | 3486 Views | Created by Igor Markovic - Tuesday, October 28, 2008 3:24 PM | Last reply by Igor Markovic - Saturday, November 1, 2008 10:59 AM -
0 Votes
DataGridView & Custom cell painting
I'm creating a schedule using a datagridview. The cells in the grid need a lot of special behavour so I created my own Column and Cell classes. In the ...Answered | 6 Replies | 13941 Views | Created by Jonesie - Friday, July 1, 2005 3:47 AM | Last reply by Delroy25 - Sunday, October 3, 2010 11:10 PM -
0 Votes
DataGridView CellFormatting is very slow compared to custom painting -- why?
1) why is handling the CellFormatting event so darn slow when compared to simply handling the CellPainting 2) how can I speed the ...Answered | 10 Replies | 9840 Views | Created by slikrik - Friday, September 11, 2009 4:13 PM | Last reply by Tergiver - Wednesday, March 10, 2010 10:11 PM -
0 Votes
datagridview cell painting
rows at index 2 and 3 for column at index 2 but I have a problem when the datagridview is scrolled the cellPainting event does not paint the text ...Answered | 1 Replies | 4708 Views | Created by Nidalhy - Wednesday, February 2, 2011 10:59 PM | Last reply by Mike Dos Zhang - Friday, February 4, 2011 5:36 AM -
1 Votes
DataGridView Column Header Painting
Hi all, I'm in the process of hacking together a DataGridView that uses some custom painting code (specifically in column headings) It's more or ...Answered | 3 Replies | 4310 Views | Created by __JB__ - Thursday, May 7, 2009 12:32 AM | Last reply by Bruce.Zhou - Tuesday, May 19, 2009 3:13 AM -
0 Votes
Format datagridview column but avoid CellFormatting event
The only other way to do this is to custom draw the cell yourself using the CellPainting event -mark DataGridView Program ...Answered | 1 Replies | 5553 Views | Created by igor_22 - Thursday, March 9, 2006 3:16 PM | Last reply by Mark Rideout - Monday, March 13, 2006 4:26 AM -
0 Votes
CellFormatting Event and ComboBox Column in DataGridView
In a DataGridView, the items in a ComboBox Column are filled from a List<string> at form load. I need to use String.Format to modify what is displayed when an ...Answered | 2 Replies | 960 Views | Created by Jon Q Jacobs - Wednesday, September 7, 2016 3:51 AM | Last reply by Jon Q Jacobs - Thursday, September 8, 2016 1:57 PM -
1 Votes
dataGridView is very slow when using CellFormatting
condition, you should calculate them above and store them in two variables and then compare values to these variables Second if you have only 14 columns then it should be reduced ...Answered | 6 Replies | 1462 Views | Created by cat2011 - Monday, November 19, 2012 5:02 AM | Last reply by Frank L. Smith - Monday, November 19, 2012 2:47 PM -
0 Votes
DataGridView painting when scrolling
Dear Hart, I posted the issue at the ...Answered | 4 Replies | 559 Views | Created by TuanHD - Tuesday, August 30, 2016 3:01 AM | Last reply by TuanHD - Friday, September 9, 2016 1:46 AM -
0 Votes
DataGridView Remove VS Visible = False
through the rows that shared a common-property Tag and set all these rows to Visible = True/False (depending on the state), until it reached the first non-common-property ...Answered | 2 Replies | 2636 Views | Created by Fexar - Friday, June 8, 2007 2:53 PM | Last reply by Zhi-Xin Ye - Thursday, June 14, 2007 5:49 AM -
1 Votes
DatagridView Row visible =false issue
row which i want to keep visible the second row is the row which i want to make it visible =false i have the following code in a ...Answered | 6 Replies | 4481 Views | Created by stelios84 - Saturday, January 1, 2011 6:00 PM | Last reply by stelios84 - Monday, January 3, 2011 7:48 AM -
0 Votes
Custom Panel painting is visible
Unfortunately using that solution causes some strange painting effects (including skipping all of my custom painting). Is there a way to paint the panels on the control ...Answered | 7 Replies | 3091 Views | Created by xr280xr - Monday, December 3, 2007 4:56 PM | Last reply by Mick Doherty - Wednesday, December 5, 2007 11:41 AM -
0 Votes
DataGridView, Button Cell, Enabled = False
; The enabled property of the cell doesn't exist, and the visible property is read only. I get the feeling like I'm missing something really ...Answered | 2 Replies | 3410 Views | Created by Corey Furman - Thursday, March 1, 2012 6:15 PM | Last reply by Corey Furman - Thursday, March 1, 2012 9:04 PM -
2 Votes
DataGridView painting when scrolling
; This only happens with "SmallChange" scrolling. LargeChange scrolling works OK. Other: My DataGridView component is Dock.Fill in a ...Answered | 7 Replies | 1919 Views | Created by TuanHD - Thursday, September 8, 2016 8:53 AM | Last reply by IceHiker - Thursday, August 1, 2019 10:03 PM -
0 Votes
Stop DataGridView CellFormatting
I found it really slow when modifying a Datagridview with a large number of rows/columns. so I'm thinking of stopping the cellformatting event whenever ...Answered | 2 Replies | 5037 Views | Created by wyzbs - Tuesday, November 30, 2010 5:05 PM | Last reply by Mike Dos Zhang - Monday, December 6, 2010 11:24 AM -
0 Votes
DataGridView CellFormatting Error
Hello guys!I have a LITTLE problem. I have to change BackgroundColor of some cells of DGV CheckBoxColumns (depending on its state - Checked or not) when ...Answered | 3 Replies | 3843 Views | Created by DeNiS-21 - Thursday, March 8, 2007 11:49 AM | Last reply by Figo Fei - Friday, March 16, 2007 2:23 AM -
0 Votes
DataGridView Column always visible
Bharath, I tried your suggestion and the first column still is visible. This datagrid in not acting normal for some reason. Mike's suggestion ...Answered | 5 Replies | 6019 Views | Created by wwmm - Tuesday, March 29, 2011 3:40 PM | Last reply by Mike Dos Zhang - Thursday, March 31, 2011 10:50 AM -
1 Votes
SharePoint Error when 'Visible=false'
I fixed it. Instead of server side Visible="false", I put <h2 style="display:none;">Answered | 3 Replies | 8467 Views | Created by Wook Tae Jung - Friday, October 1, 2010 4:24 PM | Last reply by Wook Tae Jung - Thursday, October 7, 2010 4:19 PM -
1 Votes
VB.Net - Datagridview column cell formatting
I'm using the below code in a datagridview cellformatting event to change how dates are displayed. DBDataGridView.Columns(0 And 4Answered | 2 Replies | 4871 Views | Created by MBuchok - Saturday, December 15, 2012 9:11 PM | Last reply by Zoltán Horváth - Monday, December 17, 2012 11:35 AM - Items 1 to 20 of 2808725 Next ›
No announcements