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
2030
XamDatagrid and XamColorPicker: Keep SelectedDataItem
posted

Hello,

when a XamColorPicker is used as editor inside a XamDatagrid I have a problem to keep the SelectedDataItem.

Its a very similar question to the behavior of the edittors which can be solved by using the event EditModeStarting

https://stackoverflow.com/questions/17973652/xamdatagrid-selecteditems-empty-on-click-on-editable-cell?r=SearchResults&s=22|42.2433

Is there a similar way to deal with XamColorPicker inside a XamDatagrid? Its neccessary to keep the SelectedDataItem in place during and after setting the new color. So far I found only this posting.

https://www.infragistics.com/community/forums/f/ultimate-ui-for-wpf/95531/xamcolorpicker-in-xamdatagrid---editmodeended-event-not-raised-if-cellclickaction-selectrecord

The event DropDownOpening of the XamColorPicker does not know anything about the hosting XamDatagrid (as far as I see it).

Is there a different way to keep the SelectedDataItem alive during editing in XamColorPicker?

Thanks

Niko

Parents Reply Children