Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
365
DrawFilter, Swapping Text
posted

I need a working example for swapping text after a selection has been made from a combobox in the ultragrid. I tried using a creation filter following: http://www.infragistics.com/community/forums/p/33419/182290.aspx#182290 but we have 1 in place for column merging already (http://www.infragistics.com/community/forums/t/59551.aspx).
So this leaves me still trying to figure out why on earth the Cell.Text is readonly.

I tried to look at this:
http://help.infragistics.com/Help/Doc/WinForms/2012.1/CLR2.0/HTML/Infragistics2.Win.v12.1~Infragistics.Win.UltraControlBase~DrawFilter.html
and:
http://www.infragistics.com/community/forums/t/90661.aspx

but I have no idea how to navigate through the UI Elements to find out which one my Row/Cell is so I can paint the value.

Enclosed is a code sample that I would like you to complete so I can try to implement this behavior in our product.

Also, how would I use a DrawFilter in a class that would use Cell Value to grab the text to paint? This might be self explanatory after seeing what you guys do.


Also, side question: Why on earth does the DrawFilter and CreationFilter fire on mouse move in the grid?

DrawFilterExample.zip
Parents Reply Children