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
2349
How do I insert a row between two other rows?
posted

Is this even possible?

Parents
  • 469350
    Verified Answer
    Offline posted

    What kind of data source are you using for the grid?

    Do you mean you want the user to insert new rows? Or are you talking about doing it in code?

    I'm pretty sure this can't be done by the user because the grid doesn't know what kind of data source it is working with and the interfaces the grid uses, like IList, don't support inserting.

    But it should be possible to insert a row in code. At the very least, you can add a row and then use the Rows.Move method to position the row where you want it.

Reply Children
No Data