in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Setting the autorowfilter @formload

Last post 11/19/2008 9:13 AM by Filip Willems. 1 replies.
Page 1 of 1 (2 items)
Sort Posts:
Previous Next
  • 11/19/2008 8:43 AM

    Setting the autorowfilter @formload

    It looks as if the gridview's rowfilter is a read-only (Get) property.

    Example : no problem to get Msgbox(Gridview.Rowfilter) and have this returned => "

     like '437%'"

    What I would like to do is to enter, that is : set a value by code @formload,

    something like : me.gridview.rowfilter = "

     like '437%'"

     

    Phil

    Blue skies, soft landings,
    Phil
  • 11/19/2008 9:13 AM In reply to

    Re: Setting the autorowfilter @formload

    ok, find some CSharp code in then knowledgebase after all, tried it in vb.net and it works.

    Problem solved, great !

     

     

    Me.GridView.SetRowCellValue(DevExpress.XtraGrid.GridControl.AutoFilterRowHandle, GridView.Columns(3), "470")

    Blue skies, soft landings,
    Phil
Page 1 of 1 (2 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED