I am using a radgridview with a binding list as Data Source. The information I am showing is the Category ID and the Category Name.
Well, when a row is deleted , for instance, category id = 32, I want to move down the rest of categories ID in order to fill that id, so now the 33 is 32, 34 is 33 and so on.
My second issue is with a new row. When I create a row the id is 0 by default. I want to change this to the next category ID for example 35.
So my idea is to modify the binding list in a event, for example when a row is deleted , modifing the categories Id in the binding list and rebind to the grid if necessary, but I don't know where to do it. And so for a new row.
I found in the documentation an event called RowDeleting but I can't find it in the designer, and I don't know which is the event for a new row.
Any ideas ?