Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
add row at top disappears
posted

I have my grid add updating set to Fixed row at top of grid.  When I have too many records to show in the grid when the form first opens the Fixed row disappears as it makes the first row the top row.  Then the user has to scroll up in the grid to access the add new row.

Is there anyway so that the add new row always shows when the grid first opens?

  • 469350
    Suggested Answer
    Offline posted

    I'm not sure I understand what you are describing. If the AddNew row is fixed on top, it will always be displayed and there is no way to scroll it out of view. If the Fixed row is scrolling, then something is very wrong and it's obviously not fixed.

    Also, I don't see why the grid would be scrolling. The BindingManager is probably activating the first row in the data source and the grid will attempt to scroll that row into view. But it's very unlikely that the row would be out of view in the first place, so no scrolling should take place.

    Perhaps what you should do is put a breakpoint in the BeforeRowRegionScroll event of the grid and look at the call stack there to see why the grid is scrolling.