Hi,
I want to achieve following behavior of RadGridView. I have grid with some 6 columns and preloaded rows. User is suppose to edit 2 columns in these rows. Other columns are read-only. One of editable columns is multi-column combo box.
User wants to edit rows one by one, going through values in that combo column using following approach:
edit (by writing value, e.g. 'X' or 'N' into combo) - down arrow (to move to next row) - edit - down arrow
However, default behavior of combo is that once user presses down arrow (or up arrow for that matter), it just lists through values of combo (dropdown) an/or displays dropdown. I want to change that and use up/down arrows just for moving up/down the grid's row collection.
I've tried hooking up on numerous events of grid, editor (multi-combo column), but with no result. Closest I've been was when I called grid.EndEdit() in grid's ValueChanged event handler. Problem with this is that it works only when user always enters value to the column (i.e. presses 'X' or 'N'), otheriwse down arrows just selects next value in the list, then editing ends. Another problem with this 'solution' is that when default value in the column is 'N' and user enters it, presses 'N', ValueChanged event isn't notified and down arrow moves to next value just as if he didn't press the 'N' before.
I need to solve this ASAP as it is very important for the client not to have press more keys then there is necessary (understand VALUE - MOVE). I know it is possible by VALUE - ENTER - MOVE, but that ENTER is what bothers my client and subsequently me too.
I'll be glad if you give me hints where to look and what to change.
Thanks a lot
Daniel
I want to achieve following behavior of RadGridView. I have grid with some 6 columns and preloaded rows. User is suppose to edit 2 columns in these rows. Other columns are read-only. One of editable columns is multi-column combo box.
User wants to edit rows one by one, going through values in that combo column using following approach:
edit (by writing value, e.g. 'X' or 'N' into combo) - down arrow (to move to next row) - edit - down arrow
However, default behavior of combo is that once user presses down arrow (or up arrow for that matter), it just lists through values of combo (dropdown) an/or displays dropdown. I want to change that and use up/down arrows just for moving up/down the grid's row collection.
I've tried hooking up on numerous events of grid, editor (multi-combo column), but with no result. Closest I've been was when I called grid.EndEdit() in grid's ValueChanged event handler. Problem with this is that it works only when user always enters value to the column (i.e. presses 'X' or 'N'), otheriwse down arrows just selects next value in the list, then editing ends. Another problem with this 'solution' is that when default value in the column is 'N' and user enters it, presses 'N', ValueChanged event isn't notified and down arrow moves to next value just as if he didn't press the 'N' before.
I need to solve this ASAP as it is very important for the client not to have press more keys then there is necessary (understand VALUE - MOVE). I know it is possible by VALUE - ENTER - MOVE, but that ENTER is what bothers my client and subsequently me too.
I'll be glad if you give me hints where to look and what to change.
Thanks a lot
Daniel