Working from this example, I am getting close to getting a FieldChooser how i want. I have two problems still.
1) The SelectAll checkbox doesn't respect if the user checks or unchecks individual items, and i am unsure of how to handle events for them to do this
2) The Field Chooser then doesn't fit all the Fields in it and doesn't scroll to show them either, even though the original thread example says it does.
http://ko.infragistics.com/community/forums/t/80639.aspx
Attached my sample...
Hello,
I have been looking into your post. It seems that similar behavior was discussed in the following forum thread:
http://ko.infragistics.com/community/forums/p/106428/501926.aspx#501926
Thank you for using Infragistics Components.
Sincerely, ZhivkoEntry Level Software Developer
Hi,
Just wondering if there is an answer for this? I am also having the problem that when fields are selected/unselected, the grid is a bit slow at rendering? Would it be better if I didn't use autosize for the columns? Would it be possible to autosize all columns after the Field Chooser has been closed rather than on the fly?
Thank you.
Hello Travis,
Thank you for your reply.
Please let me know if you need any further assistance on this matter.
huh. this didn't work correctly for me, but i did notice you had
e.FieldChooser.FieldGroupSelectorVisibility = Visibility.Visible;
in your code, and that the "Person" checkbox was working exactly as i wanted anyway, so i customized that to be my Select All instead.
Thank for your post.
I have been looking into your requirements. What I can suggest to achieve the SelectedAll Checkbox to respect if the user checked or unchecked individual field is to set the IsChecked property of Checkbox to x:Null, so you allow it to be set to null and determinated it between true and false. You can handle the ValueChanged event of XamCheckEditor. In the event handler you can use the Utilities class to get the SelectAll Checkbox and set it`s IsChecked property to null. Also you should set the IsThreeState property of select all Checkbox to false. About the issue with fitting of fields, I can suggest you to put ScrollViewer in your template. I modified your sample application to show you how you can achieve this custom functionalities.