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
90
CellClickAction not firing when CellValuePresenter Template is changed
posted

I have a xam grid with unbound field whose CellValuePreseneterStyle is set and where I am setting the Template Property of CellValuePresenter to some control say XAMMaskedEditor. On Click of this cell, CellClickAction is not working and SelectedItemsChanged is not firing eve. Could you please help!

Parents
  • 14517
    Offline posted

    Hello Gowri,

    In 14.2 we introduced template fields for the XamDataGrid. I suggest you use a template field as opposed to setting the control template on the CellValuePresenterStyle as this will allow you to easily maintain a lot of the functionality contained in the CellValuePresenter’s default control template. Using a template field allows you to set both a display template and an edit template and will respect the CellClickAction. To learn more about template fields please see http://help.infragistics.com/doc/WPF/2016.1/CLR4.0/?page=xamDataPresenter_Configuring_Template_Field.html.

    Let me know if you have any questions.

    Sincerely,

    Valerie

    Software Developer

    Infragistics Inc

Reply Children