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

Questions from beginner in GridView (Urgent)

1 Answer 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lucas Aguiar
Top achievements
Rank 1
Lucas Aguiar asked on 04 May 2010, 11:29 AM
Just recently bought the suite from Telerik and we're having some difficulties in the GridView:
Later add a second new line in a grid with a BindingSource, after changing the information of the first column and capture that change by PropertyChanged, I can not get the line ((BE.RegraICMSClassificacaoFiscal) _bsClassificacaoFiscal.Current. When I do that she gets the information first line and not the new line. It seems to me that the BindingSource is not repositioned.

Other issues:

- What are the equivalent properties in the columns:

Fill and displayorder

1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 06 May 2010, 03:11 PM
Hello Lucas Aguiar,

You can change the order of the columns by changing their position in columns collection of the grid. You can use Move method of columns collection:

this.radGridView.Columns.Move(oldIndex, newIndex);

You can read more about grid's column in this documentation article. Also you specify their sizing mode by setting GridViewTemplate's property AutoSizeColumnsMode to AutoSizeColumnsMode.Fill.

You can determine the current row by access CurrentRow property of RadGridView. Notice that this property refer to the row that is selected as current. You can read more about rows in this documentation page.

Let us know if you have further questions.

Sincerely yours,
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
General Discussions
Asked by
Lucas Aguiar
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or