Ticket Q98053
Visible to All Users

XtraGrid AutoFilterRow focusing

created 17 years ago

Hello,
How to give focus to first column of AutoFilterRow (rowhandle -999997) ?
(see attachement)
Thanks

Comments (3)
DevExpress Support Team 17 years ago

    Hi Robert,
    Thank you for the question. Please write something in the following manner:

    C#
    private void Form1_Load(object sender, EventArgs e) { //InitData(); gridControl1.ForceInitialize(); gridView1.FocusedColumn = this.gridView1.VisibleColumns[0]; gridView1.FocusedRowHandle = GridControl.AutoFilterRowHandle; gridView1.ShowEditor(); }

    Please let me know your results.
    Thanks,
    Marina

    MJ MJ
    Marek Jastrzebski 17 years ago

      Ok, all works fine, thanks.

      DevExpress Support Team 17 years ago

        Welcome!

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.