hi all
i have an table with id filed that has primary key.
i want when i select an row and click on new row then the new row insert next of selected item and id fields re arrange.
can help?
thankful.
2 Answers, 1 is accepted
0
Dimitrina
Telerik team
answered on 27 Dec 2011, 03:49 PM
Hello,
When you click on the Insert New Item of the RadGridView an AddingNewDataItem event is raised. You could subscribe to it and place the item to be inserted where you prefer in the bound collection. I am not sure what do you mean by "id fields re arrange". Do you want the items to change their IDs?
Kind regards,
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
hi
thanks for reply.
yes.
i want when i select an row and insert new row. my new row insert next of selected row and id (primiry key) of that =selectedrowindex+1.
but i dont know what must i do?
can help me?
thankful.