Put New Docked Row on the First Row of the Grid, Pushing Down Other Docked Rows
Featured CompletedYour current functionality is to put a newly docked row after the previously docked row, but before the first non-docked row. Would it be possible to have the option to put the newly docked row as the first row on the grid, and push down the other docked rows?
In addition, it would be nice to have the option to lock the docked rows, so that when the user is scrolling, the docked rows stay visible.
-
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 -
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 -
great info thanks.
click through the next webpage0
Please sign in to leave a comment.
Comments
3 comments