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

Hide Item, Show Item?

1 Answer 177 Views
LayoutControl
This is a migrated thread and some comments may be shown as answers.
technicast
Top achievements
Rank 1
technicast asked on 08 May 2018, 05:22 PM
I can hide a layout item using HideItem() method but then how do I make it visible again?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 09 May 2018, 09:38 AM
Hello Eric,

You can use the AddItem method and the HiddedItems collection to restore the item. For example:
radLayoutControl1.AddItem(radLayoutControl1.HiddenItems[0] as LayoutControlItem);

I hope this will be useful. Let me know if you have additional questions.

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