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

Using ScrollView using Markup instead of [Data]

1 Answer 46 Views
ScrollView
This is a migrated thread and some comments may be shown as answers.
Rex
Top achievements
Rank 1
Rex asked on 28 May 2019, 04:49 PM

Hi,

I am wondering if we can use the ScrollView using hardcoded items instead of using the [data] property.

Eg. in using kendo-tabstrip...

<kendo-tabstrip>                    
                    <kendo-tabstrip-tab [selected]="true">
                        <ng-template kendoTabTitle>
                                       title
                        </ng-template>
                        <ng-template kendoTabContent>

                                  markup here with stylings
                        </ng-template>
                    </kendo-tabstrip-tab>

</kendo-tabstrip>

 

Thank you in advance and Regards,
Rex

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 30 May 2019, 09:39 AM
Hi Rex,

Hardcoding the separate "frames" of the scrollview in the template is not possible, as there is no separate dedicated content-holding component (similar to the TabStrip's TabComponent), but instead all views are rendered based on the provided collection of item configuration objects, and a ng-template where the developer can provide any desired content and dynamically integrate the data item object values as necessary.

Let us know if you have further questions related to implementing a specific scenario, or if I am missing something

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
ScrollView
Asked by
Rex
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or