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
1140
New Row at a particular index
posted

In UltraGrid, Is there a way to add a new row at a particular index instead of always allowing only to add at the bottom.

Nagarjun

 

  • 469350
    Suggested Answer
    Offline posted

    Hi Nagarjun,

    The grid will show new rows wherever they exist within the grid's DataSource. Unfortunately, the BindingManager in DotNet seems to have a bug where it will always send a notification for newly-added rows with an index of the last row, so they always show up on the bottom.

    What you could do is add a row to the grid band and then use the Move method on the rows collection to re-position that row where you want it.