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
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.
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.
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.