|
Created by
Ertürk Çevik
|
|
5/10/2009 7:09:43 PM
|
When user begin change field in the Xtragrid, I want
- automatic show (open) popupcontainer (GridLookup) and
- automatic begin Incremental search depend on field value in the opening popupcontainer How can I do? Please send some example code?
Best Regards
|
|
Reviewed by
DevExpress Team
|
|
5/11/2009 6:29:09 AM
|
|
|
Processed (Answered) by
DevExpress Team
|
|
5/11/2009 2:22:46 PM
|
Attachment: Q205291.ZIP (50077 bytes)
Hi Ertürk, Thank you for the report.
>automatic show (open) popupcontainer (GridLookup) and
To force an editor's popup window being opened immediately after user begin to type in an edit box, set the RepositoryItemGridLookUpEdit.ImmediatePopup property to true.
>automatic begin Incremental search depend on field value in the opening popupcontainer
To accomplish this task, specify the RepositoryItemGridLookUpEditView.OptionsBehavior.AllowIncrementalSearch property to true.
Please review the attached project and feel free to ask additional questions. Thanks,
Svetlana
|
|
Reactivated by
Ertürk Çevik
|
|
5/11/2009 2:45:46 PM
|
Excusive me,
Im use repositoryItemPopupContainerEdit (with GridControl) When user begin change field in the Xtragrid, I want
- automatic show (open) popupcontainer (GridControl) and
- automatic begin Incremental search depend on field value in the opening popupcontainer Regards
|
|
Processed (Answered) by
DevExpress Team
|
|
5/12/2009 12:09:20 PM
|
Attachment: Q205291_.ZIP (53147 bytes)
Hi Ertürk, >automatic show (open) popupcontainer (GridControl) and
To accomplish this task, handle the GridView.ShownEditor event and call the PopupContainerEdit.ShowPopup method in this event handler. Note, the GridView.OptionsBehavior.EditorShowMode property should be set to MouseUp. >automatic begin Incremental search depend on field value in the opening popupcontainer
To enable incremental search in a grid (that is placed inside a popup window), set the GridView.OptionsBehavior.AllowIncrementalSearch property to true. Further, you need to handle the RepositoryItemPopupContainerEdit.QueryPopUp event to set a certain focused column (by which searching will be performed) in a grid.
Please review the attached project. Hopefully, the proposed solution meets your requirements. Thanks,
Svetlana
|
|
Reactivated by
Ertürk Çevik
|
|
5/16/2009 9:53:13 PM
|
Thank you for answer,
I want when use begin change field value (press first char)
open RepositoryItemPopupContainerEdit popup window and begin Incremental search.
Simalar Lookupedit 1. User focus column "Customer Name"
2. Press char for example "A" (begin change field value)
3. Show popupcontaineredit
4. Sort "Customer Name" column in the popupcontaineredit
5. Focused "Customer Name" column begin incrementeal search "A" char
Regards
|
|
Processed (Answered) by
DevExpress Team
|
|
5/19/2009 9:36:15 AM
|
Hi Ertürk, We are working on your task and will contact you soon. We are sorry for this delay. Please bear with us. Thanks,
Plato
|
|
Reactivated by
DevExpress Team
|
|
5/19/2009 9:36:26 AM
|
|
|
Processed (Answered) by
DevExpress Team
|
|
5/20/2009 7:44:05 AM
|
Hi Ertürk, It seems that the project Svetlana sent you works just as you need. If not, please let us know what exactly in her project doesn't meet your requirements. Please also explain why you are using the PopupContainerEdit editor as you are just emulating the GridLookupEdit's functionality. Thanks,
Plato
|
|
Reactivated by
Ertürk Çevik
|
|
5/20/2009 10:25:18 AM
|
I'm using Ideblade Devforce.
I can must use GridLookupEdit only data binding mode with Devforce.
Devforce support GridLookupEdit only data binding mode.
But I can using PopupContainerEdit (GridControl) without binding mode, also performance improvement. Regards,
|
|
Processed (Answered) by
DevExpress Team
|
|
5/21/2009 1:20:27 PM
|
Hi Ertürk, Thank you for the clarification. Does Svetlana's project work for you? You seem to forget to answer this question... Thanks,
Plato
|
|
Reactivated by
Ertürk Çevik
|
|
5/21/2009 2:00:08 PM
|
Hi;
I can't want always appear popupcontainer when focused column.
I want display (show popup) popupcontainer only when user begin changing field value.
Regards
|
|
Processed (Answered) by
DevExpress Team
|
|
5/22/2009 11:46:25 AM
|
Attachment: dxSample.zip (98692 bytes)
Hi Ertürk, I have modified the project for you, and it seems to work fine now. You will find it in the attachment. I hope it will be helpful for you. Thanks,
Plato
|
No discussion on this article has been started yet.
Please login to start discussion.