Grid/table with only row selection and keypress handling

I need for smart client data grid/table with this features:

  • readonly cells, clicking on any cell cause selection of row only (not cell). Text color stay black, not silver (problem with readOnly prop).
  • whole grid/table force event of keypress, especially enter key (cannot connect keypress plugin to grid, because grid is not element in Servoy elements).

Do you know any plugin, bean?

Hi,

readonly cells, clicking on any cell cause selection of row only (not cell). Text color stay black, not silver (problem with readOnly prop).

For that you could use labels, and use a style-sheet for color ect.
[attachment=0]2016-02-01_0924.png[/attachment]

Regards

Peter de Groot:
For that you could use labels, and use a style-sheet for color ect.

It looks very close to solution, but there is problem with plugins.keyListeners.

First press of “enter” key select cell and just second force keyPressed. I need to force keyPress on first pressing.

plugins.keyListeners.addKeyListener(elements.customer_id, keypress, "keyPressed");