I feel that it could be done very simple, but can’t get it for 2 hours already :)
There is a ValueTable placed on the form. ReadOnly mode.
Setting the Selection event handler, which occurs on double click or Enter.
Procedure PlanSelection(Item, SelectedRow, Field, StandardProcessing)
So, how to get the cell which had been double clicked from this handler?
The closest thing is Items.Plan.CurrentData.
But it is the whole row, while I need to know which column in this row it was. I believe, that it should be done through Field attribute, but can’t get how to.
Please don’t suggest to attach an event to each column due to the table is generated automatically. And I’ve already ordered a book about the interface.
The 1C:Enterprise developers forum