Hi,
How can i get the FieldChooser closing event, name of this event? looking forward for the response.
Thanks & Regards,
Kashif Mujeeb
Hello Kashif,
Thank you for your post. I have been looking into it and have created a small sample for you. In the sample I create an instance of the ToolWindow, the popup window that shows up when the FieldChooserButton is pressed, and set a Closed event for this window. I set this event in the FieldChooserOpening event. Please find the attached sample and fill free to contact us if you have any further questions.
Hi Gergana Dimitrova,
i have two questions regarding field chooser
i) how can i remove "Field Chooser " text upon the field chooser popup.
ii) is there any generalized work around for hiding some fields in column chooser except explicitly setting AllowFieldHiding property of every attribute.
i am populating my xamdatagrid from a viewmodel observation collection source
Looking forward for your reply
Hi Gergana,
thanks for the assistance ,provided link helped me to resolve my issue ,thanks again
Hello Sam,
I am just checking your progress on the issue. If you require any further assistance please do not hesitate to ask.
Thank you for your post. I have been looking into it. For your first requirement there is a Text property of the ToolWindow, that you can remove as follows:
ToolWindow win = Utilities.GetAncestorFromType(e.FieldChooser, typeof(ToolWindow), false) as ToolWindow;
win.Title = Title.Remove(0);
For your second requirement I can suggest the following thread: http://es.infragistics.com/community/forums/t/62028.aspx . In this thread there is a sample that demonstrates how to set a filter to the FieldChooser. In the filter you can set the fields you would like not to be shown in the FieldChooser. Please feel free to contact us if I have misunderstood your requirements or you have any further questions.