This is a migrated thread and some comments may be shown as answers.

Select specific cell for editing in grid (code behind)

1 Answer 177 Views
GridView
This is a migrated thread and some comments may be shown as answers.
CulminIT
Top achievements
Rank 2
CulminIT asked on 18 Mar 2010, 09:57 AM
Hi all

We moved from the standard DataGridView to the RadGridView.

The DataGridView has an item property where you can set the column and row index yourself.

dgvGrid.CurrentCell = dgvGrid.Item(1, 15)

The 1 being the column position and 15 the row position.

What is the RadGridView equivalent?

Thank you

1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 19 Mar 2010, 02:59 PM
Hi culminIT Pty. (Ltd),

The equivalent of the supplied code snippet considering RadGridView is:
this.radGridView1.Rows[1].IsCurrent = true;
this.radGridView1.Columns[15].IsCurrent = true;

If you need further assistance, do not hesitate to write back.

Regards,
Svett
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
CulminIT
Top achievements
Rank 2
Answers by
Svett
Telerik team
Share this question
or