Created By Dosvak LLC (WWW.DOSVAK.COM)

0 votes
in Coach Views by (2.1k points)
I have complex coachview that has child coachviews. UI taking longer than usual time to render. My requirement does not allow to use tabs or split in multiple coaches. Any ideas how can we engineer to lazy load sections . For example on selection from  drop down we display sections that has form. I like to load this form on selection only.

Thanks in advance..

2 Answers

0 votes
by (10.3k points)
You willl benefit from lazy loading only if your data retrieval before the coach load is taking time, in that scenario you can defer the loading of the non visible data to ajax calls, you just have to construct an ajax service  as needed possibly with multiple inputs and multiple outputs(even complex variables can come back and get assigned to coach view complex variables), then on change of the selection invoke the ajax call and let it update the data of the view you can hide the view initially and only make it visible when data is rettrieved back i.e. as part of the callback function. Let me know if you run accross issues.
by (10.3k points)
lazy loading of rendering is available in Brazos toolkit e.g. for tabs if you have too many controls on not initially visible tabs you can benefit from it
by (11.1k points)
lazy loading of component coach views can be achieved using BPM UI Toolkit/Spark Toolkit with deferred section where you can set a delay for rendering e.g. for initially non visible UI areas
0 votes
by (1.2k points)
You can use the Deferred Section control for lazy loading.

Related questions

0 votes
0 answers 13 views
asked Dec 15, 2016 in Coach Views by venkat (2.1k points)
0 votes
0 answers 56 views
+1 vote
0 answers 81 views
0 votes
1 answer 55 views
0 votes
2 answers 245 views