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

What is the difference between GetColumn and GetColumnSafe method?

1 Answer 210 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 01 Sep 2010, 05:41 PM
-edit- nevermind I was reviewing outdated documentation.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 02 Sep 2010, 09:42 AM
Hello Matthew,

The GetColumnSafe(columnName) performs the same task as GetColumn(columnName) method, however GetColumnSafe will not raise an exception in case column with that name is not found in the corresponding GridTableView.

Best wishes,
Pavlina
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
Grid
Asked by
Matthew
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or