Current filter:
                                You should refresh the page.
                                0
                                  • When I call the following line of code:

                                    EstimateItemsGridView.StartIncrementalSearch(ItemSearchEdit.Text);

                                    I get an error:

                                    DevExpress.XtraEditors.ViewInfo.BaseEditViewInfo(DevExpress.XtraGrid.Columns.GridColumn,Int32)
                                    Object reference not set to an instance of an object

                                    Steps to Reproduce:

                                    Call StartIncrementalSearch() on a Grid

                                    Actual Results:

                                    I get an error:

                                    DevExpress.XtraEditors.ViewInfo.BaseEditViewInfo(DevExpress.XtraGrid.Columns.GridColumn,Int32)

                                    Object reference not set to an instance of an object

                                    Expected Results:

                                    Focused row to move to the first match found for the passed in text

                                0

                                Hello Chris,

                                Unfortunately, I cannot reproduce the error. Please find my test project in the attachment. Could you please complete it to reproduce the error? Or could you please send your test project to me?

                                Thank you,
                                Nick

                                B90226_TestWorks.zip
                                0

                                Here is a small sample project that demonstrates this problem

                                TestSearch.zip
                                0

                                Chris,

                                Thank you for your test project. We'll fix this problem. Currently, please activate the AllowFocus option of your grid column - the problem will disappear.

                                Thank you,
                                Nick

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.