Hi,
I'm currently working with the add row and the testers have noticed some oddities. It seems like the value editor width is the smallest possible width (rather than the width of the column) and that editors like xamcombo's and xamdatetime's jump left when clicked when they are typically right horizontally aligned. Basically we want the editor to extend the width of the column and not have the jumping effect when the cells are clicked. I've attached a screenshot of this behavior.
Hello Danielle,
I am just checking if you have any further questions on this matter. Please do not hesitate to let me know if you do.
Thank you for the feedback.
I have been looking into your post. If you would like the ValueEditor to take the space of the entire Cell I can suggest setting the HorizontalAlignment property of the ValueEditor to " Stretch" instead of " Right".
This way when the editor is empty(as in the AddNewRecord) it would take the space of the cell. When you set the above mentioned property to "Right" and there is no content in the cell the editor would be Right aligned and the its width would be the smallest possible as there is no content and it does not know what width to take.
Please do not hesitate to let me know if you have any further questions on this matter.
Gergana,
I verified the issues come from the editor styles applied. I foolishly had applied HorizontalAlignment="Left" in the mix after HorizontalContentAlignment="Right", which fixed the bouncing back and forth editor problem. I verified after removing the style for the ValueEditor that the editor takes up the entire space of the column. I don't see anything specific in the style that would make it act this way though... we apply specific editors based on the field type. Basically what happens is if it's an input type it returns this:
Thank you for your post!
I have been looking into it and have created a small sample application in order to test the functionality you have reported. In the sample application I have a simple XamDataGrid, bound to a collection, that have DateTime property and one of the Fields is using the XamComboEditor as an editor for the data. I have also set the AllowAddNew property to true.
Using this sample application I was not able to reproduce the issue. I am attaching the sample application for your reference. Would you please modify the sample with the functionality you are using, so it reproduces the issue?
Also from the image, that you have attached to your initial email I am able to see that you are applying some styles to the editors. Would you please provide me with more details about the styles that you are using?
Having this information would help me further investigate this for you and provide you with more information on the matter.
Looking forward to hearing from you.