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

Change display order for statically created panels

1 Answer 20 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 19 Jan 2017, 09:59 AM

Hi

Is it possible to change in the code behind the order for statically created panels?

The only way I can think of doing it is to create each panel as a user control, and dynamically add them.

 

Andy

 

 

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 23 Jan 2017, 06:57 AM
Hello Andy,

Once the PanelBarItems are declared if you want to change their order you will have to use the Add and Remove methods to create the desired order, as demonstrated in this documentation article. 

Regards,
Ivan Danchev
Telerik by Progress
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
PanelBar
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Ivan Danchev
Telerik team
Share this question
or