How to set alternate colors of infragistic ultragrid emptyrows.I want to set the colors of empty rows with two colors.
Empty rows should appear as;
first row color:White
second row color: Inactive caption
third row :White
fourth row : Inactive caption and so on for all empty rows.
Please help me
Hello Poornima,
After some research, the "Support of RowAlternateAppearance on the EmptyRowSettings object" has been determined to be a new product idea. I have sent your idea directly to our product management team.
Our product team chooses new ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time.
Your reference number for this product idea is PI12080151.
If you would like to follow up on your request at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Hello Mike,
Just wanted to know, do we have this feature right now: like setting alternate row color incase of emptyrows.enabled= true;
Kindly let me know. As this is what is required as per my currently working module.
If not yet implemented, then is there any alternative for the same [setting alternate row color incase emptyrows are enabled]
Thanks,
Poornima
Hi,
nhutt said:This is not very helpful.
Well... that's probably because the question you are asking is not at all related to the topic under discussion in this thread. :)
If you want to color a row in the grid based on some value in the cell, then the best way to to this is to use the InitializeRow event. You can examine the row and look at it's Index or any value in any cell and then apply an Appearance to the row or to any cell you like.
There's sample code that does this in a bunch of different places. For example, the WinGrid Performance Guide has some sample code and discusses how to do this in the most efficient way.
This is not very helpful.
I need an answer similar to this question.
How do I get different backgrounds for a row based on the data or row that it is in. Say instead of just alternating colors, I would like a row 1 to appear in color1, 2nd row to appear in color 3, and row 3 to appear in color3, and row4 to appear in color1, etc..?
[I tried using the row index, but does the rows do not recalculate their colors after a sort.]
Now if I need to combine that with the values of the rows (and should be self-updated, when the value changes, etc..).
I have used Syncfusion - and it is much more transparent and intuitive.
Please advise.
Thanks.
Thanks for looking into this, Mike.