Is it possible to focus on first editor when editing a row rather than a column Id?

I am opening a set of editors on a row like this:

onItemDblClick: function (id) {
this.editRow(id);

// Is it possible to get the column ID of the column containing the first editor?
this.focusEditor({ row: id.row, column: '???' });
}

The reason why I want to do this is that a user can move the columns around so I never know the exact order they will be in, but I want to always set the focus on the first editor when they double click.

Tagged:

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!