We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

InvalidateRange in GridGroupingControl

Thread ID:





19786 Oct 4,2004 04:15 PM UTC Oct 4,2004 05:47 PM UTC WinForms 1
Tags: GridControl
Albert Gao
Asked On October 4, 2004 04:15 PM UTC

I copied the sample for row blinking. Here the code - In timer event: this.gridColorful.TableControl.InvalidateRange(GridRangeInfo.Row(3)); blinkindex ++; if (blinkindex >= 3) blinkindex = 0; In prepareViewStyleInfo handler if (e.Inner.RowIndex == 3) { e.Inner.Style.BackColor = this.blinkColors[blinkindex]; } I only seeing the first row - which new record row blinking. Please help. Also please point me where I can find information how components in gridgroupingcontrol are organized. Thank you very much, Albert

Administrator [Syncfusion]
Replied On October 4, 2004 05:47 PM UTC

The reason you only see one row blinking is that you are only setting the color of row 3 in PrepareViewStyleInfo and only invalidating this single row in your Tick event. If you want to set colors to other rows, you would need to invalidate them some how and then set their colors in PrepareViewStyleInfo just like you are doing for row 3. Here is a little sample that blinks two rows with your code. GGCReadOnly_3466.zip The reason row 3 is the addnew row is that row 0 is the droparea, row 1 is the caption and row 2 is the headers, making the addnew row the row 3. The only sources of information currently would be the tutorial in the grid''s user''s guide, the class reference which you access from VisStu''s help (set the Filtered by: to (no filter) to see the Syncfusion listings), the GridGrouping section of the Grid KB, and the Grouping forum.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon