Pavel
Pavel

Reputation: 1

No default selected row in DevExpress WinForms GridView in multiselect mode

I have a WinForms DevExpress GridControl with single simple gridview in multiselect mode. There is no default selected row when it displayed first time. In singleselect mode all works fine. GridControl obtains data for displaying via binding. May be, it's a bug? Can you help me?

Upvotes: 0

Views: 3246

Answers (1)

P a u l
P a u l

Reputation: 7921

After the grid is data bound can't you just set FocusedRowHandle = 0 if the row count > 0?

Upvotes: 2

Related Questions