Hello ,
You could use InitializeRow event of UltraGrid in order to hide cells from SP1 and SP2 columns, and then to use MouseEnterElelemnt and MouseLeaveElelemnt events in order to display/hide those cells if the row meets some criteria. Please see attached sample.
Please let me know if you have any further questions.
Hristo, I had to copy your code into another solution to make it run.
I may be missing something but I do not see the behavior that you were trying to demostrate. Here are two screen shot. In one case the focus is on band 2 and in the second case the focus is on band 3 (the one with the special cells). In both case, the UI does not look any different.
See here http://i46.tinypic.com/2ihv8uv.png
Hello,
I am using DrawFilter in order to skip transparent drawing of the cells that contains text. Regarding the blue cell, you just could manage SelectedCellAppearance ant to set its back color to transparent.
I hope that this will helps you.
Hello Hristo,
Thanks for the clarification on DrawFilter.
On the SelectedCellAppearance, I tried it and got close. It still show the box as you can see in the screenshot (notice the "Wait icon on third row from top)
Compare that with how it shows in these screenshot from a popular mail software. There is no box around the star after I clicked on it. Any thoughts on how I can achieve that behavior?
Thanks a lot for your support.
This is the focus rectangle, that indict which cell is active cell, and on the following link you will find a tutorial of how to turn off focus rectangle:
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=4791
please let me know if you have any further questions.
Thanks Hristo, some good results.
I used the DrawFilter from that example directly in the sample app.
- I was able to get rid of the focus rectangle which is great.
- Notice the gray box of the cell. Any way to get rid of that?
- Then I tried to combine the filter code that you had created with that of the knowledgebase. Obviously I did not do it right. You can see the focus box re-appeared when I did that.
Let me also know on getting rid of the grey box.
Thanks!
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this matter?
Thank you for using Infragistics Components.
Thank you for your feedback. Please feel free to contact with us, or to start new Forum thread or to open a support ticket in our system if you need any further assistance with Infragistics Components.
For the last several days, I have not gotten around to going back to my prototype for the effort I had been seeking help. I am going to have to need more help for sure.
Thanks for the followup Hristo! Your help so far has been invaluable. You will be hearing from me.