Hi there
I have a grid in which I try to display an "AddRow" to create new items for the bound list (which implements all the necessary interfaces - it's an LLBLGen collection). However, the row is initially invisible, and only becomes visible once I click on one of the headers in order to change the sort order. I guess I can't turn that into a feature when it comes to my customers, so a workaround was greatly appreciated ;)
Oh yes: The bug only appears if the bound collection is empty. If there are already some records, the AddRow is visible right from the start.
Cheers,
Philipp
I encountered the same problem. I added the following code right after the binding is done, and it solved the problem :
MyGrid.FieldLayoutSettings.ResetAllowAddNew();MyGrid.FieldLayoutSettings.AllowAddNew = true;
Obviously, there is a bug! Meanwhile, that's the workaround I found to solve the problem.
Which version of the grid are you using? I'm using 8.1 and I dont find ResetAllowAddNew() on FieldLayoutSettings. It seems this is due to the bindings in Xaml. The grid shows the add new row if I bind it in code. Can you tell me where to find the ResetAllowAddNew method or any other workaround possible?
Thanks.
Thanks for sharing that one - cheers!