Hi.
I have gridview with enabled properties CanUserInsertRows.
Adding rows acuatlly works fine (thanks for RowEditEnded).
But now i'd like to edit selected row. So when i click on row, edit all information it raises RowEditEnded event. In this place im checking is there card with ID = selectedRow. If there is = edit, else = add new. Ok, new information is updated into database, but grid seems to still be in edit mode (so when i click enter in last cell, it update card in db, and going into edit in next - below - row).
Is there any way to cancel edit mode, unselect row or something else?
I also tried to use button, with click action = edit row. How can i put selected row into edit mode?
Thanks in advance.
Reards, Adam.
I have gridview with enabled properties CanUserInsertRows.
Adding rows acuatlly works fine (thanks for RowEditEnded).
But now i'd like to edit selected row. So when i click on row, edit all information it raises RowEditEnded event. In this place im checking is there card with ID = selectedRow. If there is = edit, else = add new. Ok, new information is updated into database, but grid seems to still be in edit mode (so when i click enter in last cell, it update card in db, and going into edit in next - below - row).
Is there any way to cancel edit mode, unselect row or something else?
I also tried to use button, with click action = edit row. How can i put selected row into edit mode?
Thanks in advance.
Reards, Adam.