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 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.
Looking forward for your reply.
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.