Turn key off in first column

Turn key off in first column

aaronsthomas74aaronsthomas74 Posts: 2Questions: 1Answers: 0

I am trying to create a form table with keys, I have the first column as the ID and do not want it to be editable. I have it named a different class name as well. Is there a way to make it so the key function will not focus on it?

Answers

  • aaronsthomas74aaronsthomas74 Posts: 2Questions: 1Answers: 0

    If anyone else reads this and wonders how to do this... I found the answer.

    ...
    keys: {
    blurable: true,
    columns: ':not(:first-child)',
    },
    ...

  • allanallan Posts: 63,356Questions: 1Answers: 10,444 Site admin

    Thanks for posting back with the solution. Yes the keys.columns option is the way to control which cells are focusable with KeyTable.

    Allan

This discussion has been closed.