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!
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?
Hello Dries,
Thank you for your post. I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Thanks for support. I am using Infragistic xamldatagrid and on this grid we have set dynamic layout setting. when we use older version of infragistic (10.2) then on grid filter enter the textbox then record is filtering on grid but when i update infragistic version (16.2) then its not working. it means when i click on header filter combobox then the list is open and data is not filter in combobox and also grid is not filter.
please give me some guidence and also if possible to give example code.
Ankit,
I recommend that you create a new thread and provide a sample that demonstrates the specific issue that you are having so that we may assist you. Note that you may also want to install 18.1 and see if the issue has already been addressed as well.