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??
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.
Sorry, one thing missing. There are button Add and button remove existing.
Moreover, the records in the ultragrid can be removed!! How??