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

ViewDefinition

2 Answers 154 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jason Parrish
Top achievements
Rank 1
Jason Parrish asked on 30 Jun 2011, 08:52 PM
How do you reset a grid's ViewDefinition back to the default table view?  Setting it to nothing does appear to work.

2 Answers, 1 is accepted

Sort by
0
Jason Parrish
Top achievements
Rank 1
answered on 30 Jun 2011, 09:02 PM
Nevermind!  This works...but is this the preferred though?

myGrid.ViewDefinition = New TableViewDefinition
0
Jack
Telerik team
answered on 05 Jul 2011, 08:34 AM
Hi Jason,

Thank you for contacting us.

Yes, this is the preferred way to reset the view definition to its default value. If you need further assistance with this, we will be glad to help.
 
Regards,
Jack
the Telerik team
Registration for Q2 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting July 18th and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
GridView
Asked by
Jason Parrish
Top achievements
Rank 1
Answers by
Jason Parrish
Top achievements
Rank 1
Jack
Telerik team
Share this question
or