Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to emulate an editable GridLookUpEdit with PopupContainerEdit

$
0
0

This example illustrates how to implement an analog of GridLookUpEdit that allows editing of GridControl data. The following approach is used: create a PopupContainerEdit, assign a panel to PopupContainerControl by setting the PopupContainerEdit.Properties.PopupControl property and then add GridControl to it. For synchronizing PopupContainerEdit's value and display text with the state of controls residing within the popup window the PopupContainerEdit.QueryResultValue and PopupContainerEdit.QueryDisplayText events were used.

Question Comments

Added By: Thomas Ferdinand at: 4/2/2014 7:40:08 AM    

Hi,
there is a problem: If you edit a value (fruit) and click outside the grid, the popup is corectly closed but the edited value is not applied.
Any ideas how to fix this?

Best regards, Tom


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>