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

building a dashboard...

1 Answer 951 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 18 May 2020, 03:06 PM

Hello, I am going to build a dashboard and am thinking about using a listview(or multiple) to house widgets/partial views.  I will store the users config in the db so I would like to fetch that and load the widgets dynamically into a kendo listview.  Is that possible?  Any code samples out there?  Is there a better way to do this.  Just trying not to code it all manually and trying to take advantage of drag and drop, sorting/etc...

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 20 May 2020, 12:01 PM

Hi, Mark, 

I have aleady responded to you in the private support ticket that you have opened but I will paste my response here as well:

==========================

We have just released a brand new widget - the Kendo UI TileLayout that could be great at helping you achieve the desired outcome.

I think your scenario is a perfect candidate to make use of it. The widget does have a setOptions() methods which it appears we missed to document but it does have the correct implementation so it should work for this scenario.

So you should be able to use the dropdown list and a button perhaps, extend the options with the the new desired widget and then use the setOptions() method to refresh the widget with its new tiles and initialize the new widget thereafter.

Have a think and let me know what your thoughts are and if I can help further in reaching the end goal.

================

Also a new feature request was logged yesterday for add()/remove() methods to be added to the API that seems like it could be quite handly in this scenario so I have added a vote on your behalf;

https://feedback.telerik.com/kendo-jquery-ui/1467818-add-remove-support-for-the-tilelayout-component

The most popular items are forwarded to planning and future implementation.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
ListView
Asked by
Mark
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or