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
4695
insert records into ultragrid - Simple
posted

Dear all,

I have one textbox and one ultradatetimeEditor. After inputing values in these two controls, I want the value will be inserted into one ultragrid. And this process will be repeated. It means there will have more than one records in the ultragrid. Is there any sample code??

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    You cannot insert a row in the grid, but you can probably insert a row into your data source. Of course, it depends what kind of data source you are using. And many times, the data source will not notify the grid that the row was inserted, it just sends a normal "add" notification so the grid puts the row at the end of the collection.

    In a case like that, what you can do is just add the row and then use the Move method on the rows collection to move the row to it's proper place.

Children
No Data