nativescript-telerik-ui

Nativescript RadListView not binding to source property

梦想的初衷 提交于 2020-01-07 03:00:34
问题 I am trying to implement {N} telerik's UI RadListView. Here is their getting started guide, which I followed as a reference. I have setup the following XML layout : list.xml <StackLayout loaded="loaded" xmlns:lv="nativescript-telerik-ui/listview" xmlns="http://www.nativescript.org/tns.xsd"> <lv:RadListView items="{{ rankingsArray }}"> <lv:RadListView.listViewLayout> <lv:ListViewLinearLayout scrollDirection="vertical"/> </lv:RadListView.listViewLayout> </lv:RadListView> <lv:RadListView

NativeScript Telerik-UI using ListViewStaggeredLayout for images in RadListView

隐身守侯 提交于 2019-12-25 09:50:50
问题 I have a NativeScript/Angular2 app using Telerik-UI, when I try to display images using ListViewStaggeredLayout directive in a RadListView I get a blank page. Using same code to display text works OK, i.e. 2 columns and staggered layout. Using ListViewGridLayout to display images works as well. I have seen old Telerik documentation showing this is/was possible with images, but I cannot figure out what to set. The HTML code is below. Thanks. <RadListView [items]="pictures"> <template

Nativescript AutoComplete not visible

送分小仙女□ 提交于 2019-12-25 09:43:57
问题 Do any have the latest working solution for Autocomplete? I tried above steps but nothing is visible on screen Appreciate your answer and help! I tried this steps but nothing worked or visible on screen... The array of items: var item:Array<string> = ['1','2','3','4'] and in the HTML of the component: <StackLayout> <AutoComplete [items]="item" itemTap="itemTapped($event)"> </AutoComplete> </StackLayout> -Regards 回答1: I have been able to create something, It's not a plugin, just a piece of

Class 'Subject<T>' incorrectly extends base class 'Observable<T> Nativescript navigation drawer error

泄露秘密 提交于 2019-12-23 09:17:40
问题 # This is the error I am facing now: i downloaded navigation drawer sample using npm (https://github.com/shripalsoni04/nativescript-angular-drawer-template). but it gives the following error. dhrn@dhrn-Inspiron-5548:~/NativeApp/Supervisor$ tns run android Searching for devices... iTunes is not available for this operating system. You will not be able to work with connected iOS devices. Executing before-prepare hook from /home/dhrn/NativeApp/Supervisor/hooks/before-prepare/nativescript-dev

NativeScript Angular RadListView rendering extremely slowly

不羁的心 提交于 2019-12-11 18:26:55
问题 Problem: I have an angular-nativescript app that needs to display some items in a grid. I'm using a RadListView to render the list and after upgrading my angular, {N}, and other library dependencies over the last few months I've noticed the RadListView rendering of the items has gotten unbearably slow. I have multiple "tabs" so you can see different types of items and whenever you switch "tabs" it needs to completely re-render the list with the new times. Before doing some upgrades (which I

NativeScript: toggleDrawerState not a function error

非 Y 不嫁゛ 提交于 2019-12-11 03:12:04
问题 I'm trying to create a sample application in native script. I used RadSideDrawer for sidemenu in the following way by referencing http://docs.telerik.com/devtools/nativescript-ui/Controls/Angular/SideDrawer/getting-started : <RadSideDrawer [transition]="RevealTransition" #drawer> <StackLayout tkDrawerContent class="sideStackLayout"> <StackLayout class="sideTitleStackLayout"> <Label text="Navigation Menu"></Label> </StackLayout> <StackLayout class="sideStackLayout"> <Label text="Primary" class

Make Telerik Sidedrawer in all Views

微笑、不失礼 提交于 2019-12-10 15:37:06
问题 I've successfully got the Telerik Side-drawer working in one view, but I'm stuck with making it into a component I can use globally. I'd like to avoid copy and pasting it into every view, so my question is how can I turn it into a reusable component. 回答1: So when you use the page-router-outlet Do not modify the main app template <page-router-outlet></page-router-outlet> - you might feel otherwise but its fine (the way the page router outlet works would add the side drawer only to the main

Nativescript RadDataForm MultilineText not working on Android

不想你离开。 提交于 2019-12-10 11:53:13
问题 I am using RadDataForm in my Nativescript Angular project and when I try to use "MultilineText" it doesn't work on Android, it just appears as a normal "Text" box. I am not able to enter multiple lines. Works fine on iOS. add-store.model.ts export class AddStore { public name: string; public description: string; constructor(name: string, description: string,) { this.name = name; this.description = description; } } add-store-metadata-validation.json { "isReadOnly": false, "commitMode":