Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1160
2 XamDataGridProblems
posted

Hi,

We're developing a fairly complex ui using the XamDataGrid and are encountering the following 2 problems that no amount of research and trial and error will resolve:

1.  We're implementing copy/paste and when selecting the cells for copying get the following odd behavior:  placing the mouse cursor over a cell that contains date/time data, depressing the left mouse button and dragging over other cells does select the appropriate cells as expected.  However if you try to start the copy operation (press and hold left mouse button) over a cell that doesn't have a date (i.e. the underlying date property is null) cause the cell to go into edit mode and drops down the calendar.  How do I get around this inconsistency?

2.  Cells with null dates display a "//" in the cell.  We need it to be blank until the user enters edit mode but setting the NullText property to the empty string doesn't do anything.  How do I get the cell to be empty?

Enclosed is a severely stripped down version of the code that demonstrates both issues.

Any help you can provide will be appreciated.

Thanks!

Glenn Les

XamDataGridIssues.zip