Search code examples
devexpressgridcontroldevexpress-windows-uidevexpress-wpf

Dynamic grid using wpf devexpress


I m having situation whhere i need to add text box in grid control cell just like we add button in the cell but the text box should open a small window when click .User should be able to fill enteries in that window. This is possible in extjs but can anyone please tell how to achieve this with devexpress controls.Please find the screenshot of the same.enter image description here


Solution

  • DevExpress provides a workaround for WPF platform: PopupContainerEdit for WPF, whats the status?

    This solution is valid for WinForms platform only DevExpress has the PopupContainerEdit editor that supports in-place mode. This editor is very handy to implement the functionality you described.

    To make it work properly in in-place mode, handle these two events: PopupContainerEdit.QueryResultValue Event RepositoryItemPopupContainerEdit.QueryDisplayText Event

    The result value will be passed to the cell where the editor is located. It is a bad practice to modify data manually after closing the pop-up window.