Michael S

Michael S

  • NA
  • 2
  • 0

DataGrid skip column when user press tab key

Oct 22 2005 8:59 PM
Hi, I have several columns in a datagrid I want to use for user to enter some information: I have 4 columns, name, amount, code, rate. I will display rows of different chemicals with both name and code columns just for displaying (reference) purpose, which user should not touch, and I want the user to fill in the amount and rate columns for each row of chemicals. Is there anyway I can have user always jumping to only the input column (amount and rate) when the user press tab key, and skip the referenced name column (name and code) For example: name | amount | code | rate --------------------------- AC44 | |99_QD | NB55 | |ZZ_4S | So when the user hit the tab key, it first jumps to AC44 (1st row)'s amount field and he enter some number, then he hit tab again, skips code column 99_QD, and directly jumps to rate column for 1st row, and user enter some number. Hit tab again, it skips the NB55 for 2nd row, and jumps to amount and enter some number, hit tab again, skips ZZ_4S cell, and jumps the rate column for 2nd row. SO on. Thanks a lot.