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

Add/Remove tile feature

2 Answers 252 Views
TileLayout
This is a migrated thread and some comments may be shown as answers.
Joao
Top achievements
Rank 1
Joao asked on 20 Apr 2021, 01:40 PM

Hello, we are trying to create a type of dashboard where the user would be able to customise the dashboard by removing and adding tiles.

It seems like the add/remove feature is already implemented in Kendo UI for JQuery but not for Blazor, is there already an expected date for this feature to be implemented in Blazor?

2 Answers, 1 is accepted

Sort by
1
Nadezhda Tacheva
Telerik team
answered on 23 Apr 2021, 09:46 AM

Hi Joao,

We have an opened feature request in our public feedback portal that you might find applicable for your scenario - Command buttons in the tile header that work with draggable and provide built-in close and minimize.

The request is for command buttons in the Tile header ( such as a close button that could allow you to close/remove a certain Tile ). It also raises the question for a Visible parameter for the Tiles that could go in their state. 

Once this feature is implemented, you will be able to remove and add Tiles, as well as to use their state to maintain their initial position when re-adding them.

I have added a vote on your behalf to increase the priority of the feature request. You can also follow it to be notified via email when its status changes ( this is the best way to know when a feature is implemented as we announce such information in the feedback portal ).

I hope you will find the above information useful and if any further questions appear, please do not hesitate to contact us.

Thank you for choosing Telerik UI for Blazor!

Regards,
Nadezhda Tacheva
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

0
Nadezhda Tacheva
Telerik team
answered on 07 Jun 2021, 03:02 PM | edited on 07 Jun 2021, 03:06 PM

Hi Joao,

In the meantime, we added a knowledge base article for adding and removing tiles. It is now live along with a sample project in our public blazor-ui repository - Add and Remove Tiles.  The application demonstrates a simple customizable dashboard which uses TileLayout component and allows adding and removing tiles from a collection to display the desired set of data in the main section.

Since at this stage a Visible parameter is not included in the TileLayout state, the component in the sample project uses a bool field Visible in the tiles model to handle the conditional rendering of the tiles depending on its value. With that being said, as the tiles collection reference changes in the process, the component state cannot maintain the data for the removed items and thus when they are re-added, they appear at the last position.

Such a configuration along with maintaining the TileItems state will be possible once this feature request is live as we discussed earlier in this thread.

Regards,
Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
TileLayout
Asked by
Joao
Top achievements
Rank 1
Answers by
Nadezhda Tacheva
Telerik team
Share this question
or