Hi,
I have two issues when using the XamDataGrid. I am binding the grid to an ObservableCollection(Of T) where T is an AudioFile, which represents an MP3 file and its tags (title, artist, album, etc). The grid basically represents a playlist of songs. I have enabled the filter row in the grid so that the user can filter the songs by whichever field he wants.
Beside this, I have a button underneath the grid that enables or disables record editing (it simply toggles grid.FieldSettings.AllowEdit). I can then edit the tags of the MP3 files and save them.
Now it seems that the AllowEdit property for some reason also enables/disables 'editing' of the Filter record. When I set AllowEdit to false (by clicking the button), I can no longer use the filter record. I can highlight the dropdown button of the combobox, but that's about it. Nothing happens when I click it, I cannot type anything in the textbox. I can still select the operator though (check for equals, greater than, etc), but that's not much use if I can't type/select anything in the combobox...
As soon as I enable record editing by clicking the button again, the filter record becomes functional again.
How can I keep the filter record functional no matter whether the AllowEdit property is true or false? I don't want my grid always editable (as one would usually not use that unless an mp3 tag is wrong), but I still want the filter row to be functional...
Thanks!
I have the same issue with 11.1 Any fixes for this?
Additionally if you open the custom filter window you can add/remove conditions but not modify them
Hello,
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post and I can say that this behavior no longer occurs in the latest service release of 11.1. You can download it by logging to our web site and going to My IG \My Keys and Downloads.
Feel free to write me if you have further questions.
Hello we are using 12.1 Infragistics xamdata grid.
Strangely when I enable the AllowRecordFiltering=True, the filter record shows up as a dropdown for each column. It can filter if I select the values from the dropdown. but It doesn't let me type and letter in the text box. If I press space it does add space in the textbox but no letter !
Hello Vaibhav,
Since this is not a known issue I am not able to say what can cause such behavior, so could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.
Looking forward for your reply.
When I use the FilterUIType="FilterRecord", together with AllowRecordFiltering="True" and AllowEdit="False", the grid doesn't allow me to edit something in the filters. I can't click on the button and I can't insert any record. Same problem as above.
An example:
<igDP:XamDataGrid Grid.Row="2" igExtensions:DataPresenterExtensions.UpdateCellValueDuringEdit="True" HorizontalAlignment="Stretch" Margin="10,10,10,0" Name="dgdTest" VerticalAlignment="Stretch" DataSource="{Binding TestView}" IsSynchronizedWithCurrentItem="True" IsUndoEnabled="True" ActiveDataItem="{Binding CurrentTest, Mode=TwoWay}" EditModeStarting="dgdTest_EditModeStarting">
<igDP:XamDataGrid.FieldSettings> <igDP:FieldSettings AllowRecordFiltering="True" AllowEdit="False" /> </igDP:XamDataGrid.FieldSettings>
<igDP:XamDataGrid.FieldLayoutSettings> <igDP:FieldLayoutSettings HeaderPrefixAreaDisplayMode="FieldChooserButton" AutoGenerateFields="False" AutoFitMode="ExtendLastField" FilterUIType="FilterRecord" AllowDelete="False" AllowAddNew="False" DataErrorDisplayMode="ErrorIconAndHighlight" SupportDataErrorInfo="RecordsAndCells" RecordSelectorExtent="40" /> </igDP:XamDataGrid.FieldLayoutSettings> <igDP:XamDataGrid.FieldLayouts> <igDP:FieldLayout IsDefault="True" Key="Test"> <igDP:Field Name="TestID" Label="Test ID"></igDP:Field>
Can you please check this?