Put New Docked Row on the First Row of the Grid, Pushing Down Other Docked Rows

Featured Completed

Comments

3 comments

  • Dapfor Team

    Hi,

    Our developers will add the appropriate API.

    What is about locked rows - this functionality should not have anything to do with docked rows. Docked rows do not participate in sorting. Locked rows can’t be scrolled. Given that the grid has only one vertical scrollbar, this functionality can be implemented only for top-level rows. Otherwise we have to add additional vertical scrollbars that looks bad from the standpoint of the end user. In any case we will study the feasibility of this feature as well as the api, which may be provided to the programmer.

    Best regards,

    The Dapfor Team

    0
    Comment actions Permalink
  • Dapfor Team

    Hi,

    The grid already contains an appropriate API. If you want to move the row, you only need to change a child index of this row. This works for docked and non-docked rows. Internally .Net Grid verifies indexes and prevents from moving non-docked rows to docked ones and vice-versa.
    More information about row indexes:

    http://www.dapfor.com/Help/NetGrid/html/06ac87ec-0a13-4504-ac2a-3a589d2a9bea.htm

    What is about your example:

    Row row = …
    row.Dock = RowDockStyle.Top;
    row.ChildIndex = 0;

    Best regards,

    The Dapfor Team

    0
    Comment actions Permalink
  • AdelaikdaKS
    great info thanks.
    click through the next webpage
    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk