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
905
Unable to Leave Cell After Edit Mode Enabled
posted

Hi,

I'm experiencing a peculiar problem that I think has to do with my peculiar situation. We are displaying a XamDataGrid which has it's columns defined by the records. When there are no records, there WERE no column headers and thus no add row, sorting, etc. I was able to fix this by adding in the columns in the "AssigningFieldLayoutToItem" event (the columns are dynamically read in from the database, as shown in the fix link). The add row row is now visible at the top as desired, but once I enter the edit mode and start typing into a particular column, I can't tab or click to any of the other columns until I back out all of my changes for that cell. It appears to be "stuck" on the edit mode for that cell and won't leave. Additionally, my calendar controls are not active (probably because the columns don't know they are date fields without actual data?). 

Any thoughts on why this might be happening or solutions? Users absolutely must be able to enter new records into a grid and see the column headers even if there are no existing records in the grid. All of our tables and columns are dynamically read in and assigned editors and properties based on database column configurations. Interested in hearing your thoughts.

Thanks,

Danielle