Move Search above Header

4 posts, 1 answers
  1. Mohsen
    Mohsen avatar
    5 posts
    Member since:
    Jun 2014

    Posted 28 Nov 2015 Link to this post

    How can I move Search above columns header?
  2. Dimitar
    Admin
    Dimitar avatar
    1404 posts

    Posted 30 Nov 2015 Link to this post

    Hi Mohsen,

    Thank you for writing.

    The following article explains how you can reorder the rows: Reordering System Rows.

    Please let me know if there is something else I can help you with. 
     
    Regards,
    Dimitar
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Mohsen
    Mohsen avatar
    5 posts
    Member since:
    Jun 2014

    Posted 01 Dec 2015 Link to this post

    This is not I want. I want to move the Search Row above Header Row. How can I do this?
  5. Answer
    Dimitar
    Admin
    Dimitar avatar
    1404 posts

    Posted 02 Dec 2015 Link to this post

    Hello Mohsen,

    Thank you for writing back.

    This is exactly what the article shows. If you have a default grid with a new and a search rows you can move the search row like this:
    protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);
        this.radGridView1.MasterView.SystemRows.Move(3, 0);
     
        this.radGridView1.GridViewElement.TableElement.InvalidateMeasure(true);
        this.radGridView1.GridViewElement.TableElement.UpdateLayout();
    }

    I hope this helps.

    Regards,
    Dimitar
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top