Hi,
I am adding new filter drop down option using the RecordFilterDropDownPopulating and the resulting filter displays the new filter options. I am also removing all other default filter option from same event handler.
However when I open the Custom filter UI, the operand section doesn't show any of the dropdown options I have added. All the other options are remained removed.
Hello,
Thank you for your post. I have been looking into it, but I wasn’t able to reproduce your behavior, so if this is still an issue for you, could you please send me an isolated sample project, where this is reproduced, so I can investigate it further for you.
Looking forward for your reply.
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thanks for the reply. Could you please guide me where to post the sample?
Thanks,
You can post you sample here at the Forum thread. When you write a new post, at the top there is a tab called “Options“ and I there is an option of uploading a file.
It turned out easier to duplicate than I anticipated. Please execute the project I have attached and do the following. (Please add IG assemblies if necessary)
1. Execute the project and select Custom filter option from the XamDataGrid’s first column
2. Select + Add condition button and notice that the Operand drop down contains values.
3. Now select 2nd or 3rd column custom filter and select + Add condition button. None of the values are displayed under Operand Column.
I am setting the FilterOperandUIType = FilterOperandUIType.DropDownList for 1st and 2nd columns from code behind (Please see XamDataGrid_FieldLayoutInitialized
Method).