I have a column which is bound to a System.Boolean object, and which appears as a checkbox. I'd like to make it a tri-state checkbox; what do I need to set its type to, and how do I configure it?
Thanks, Aaron
Hello Aaron,
I just wanted to know if you was able to implement the tri-state checkbox or you still need help? Just let me know. Thank you.
Sincerely,DimiDeveloper Support Engineer,MCPD
aaronsher said:I have a column which is bound to a System.Boolean object, and which appears as a checkbox. I'd like to make it a tri-state checkbox; what do I need to set its type to, and how do I configure it?
Hello , I forgot to clarify that in order to convert directly the values to Boolean of the checkbox state enumeration you should use DataFilter since the check editor use different values then the Boolean.http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=5014I am attaching working sample for your reference.I hope this helps.Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
Hello Aaron, I am sorry, somehow I discard the area and I have mislead.You can use UltraTreeColumnSetand set the type of the data. Something like that:UltraTreeColumnSet commonColumnSet = new UltraTreeColumnSet();commonColumnSet.Columns.Add("MyBoolColumn");commonColumnSet.Columns["MyBoolColumn"].DataType = typeof(CheckState);I hope this helps.Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
This is an UltraTree, not a grid (thus the post in the WinTree forum), and UltraTreeColumns don't appear to have a Style property. Any other ideas?