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

Refresh/Auto populating columns in Property Builder after changes to dataset

1 Answer 41 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Czeshirecat
Top achievements
Rank 2
Iron
Iron
Czeshirecat asked on 27 Jun 2017, 08:21 AM

Hi, sorry if this has been asked before but I couldnt find and answer (my searches were probably including the wrong terms.)

When we initially add a datasource to a new grid, the property builder is automatically pupulated with the original columns ready for us to set properties.

I'm adding/changing columns to the datatable in my datasource. Is it possible to get the Property Builder to update the column list from the datasource without me having to add new columns manually? I don't want to lose all the properties that I've previously set.

thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 27 Jun 2017, 12:45 PM
Hello Claire,

There is no easy way for this. If you are regularly changing the data source it would be better to add the columns in code. Optionally you can save a copy of the Designer file and use parts of it when the data source is reset. 

I hope this will be useful. 

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Czeshirecat
Top achievements
Rank 2
Iron
Iron
Answers by
Dimitar
Telerik team
Share this question
or