Telerik Forums
Kendo UI for jQuery Forum
1 answer
180 views
Hi

I'm trying to get a dropdown box in a custom popup template to populate from a datastore but can't get it to work.  If I use the default popup custom binding an editor to the data store it works, but I need to use a custom template.

Here is my code

//datastore setup
        var ds_YesNo = new kendo.data.DataSource({
            transport: {
                read: {
                    url: URL_TO_DS,
                    type: "get",
                    dataType: "json"
                }
            },
            schema: {
                data: "children",
                total: function(response) {
                    return response.paging.YesNo.count;
                }
            }
        })
        ds_YesNo.read();


The datastore returns the following back
{
"paging": {
    "YesNo": {
         "page": 1,
         "current": 2,
         "count": 2,
         "prevPage": false,
         "nextPage": false,
         "pageCount": 1,
         "order": null,
         "limit": 10,
         "options": {
              "conditions": []
         },
         "paramType": "querystring"
}
},
"children": [
         {
                  "YesNo_YesNoID": "N",
                  "YesNo_YesNoName": "No"
         },
         {
                  "YesNo_YesNoID": "Y",
                  "YesNo_YesNoName": "Yes"
         }
]
}


Then in my edit template I have this

        <div class="k-edit-field" data-container-for="Staff_Active">
            <input name="Staff_Active"
                data-bind="value:Staff_Active"
                data-value-field="YesNo_YesNoID"
                data-text-field="YesNo_YesNoName"
                data-source="ds_YesNo"
                data-role="dropdownlist" />
        </div>

but the dropbox is empty - all the other standard input text fields display fine.

Would appreciate some assistance.

Regards

Dave
Dave
Top achievements
Rank 1
 answered on 20 Jan 2015
6 answers
193 views
Would there be any performance advantage to creating views in the same file as opposed to several different htmls?
I'd like to split them up into their own files in order to clean up my project a little bit, but I'm not sure if it would slow things down or if it's purely for organization.

Thanks!
Petyo
Telerik team
 answered on 20 Jan 2015
1 answer
199 views
When modal window is initialize with MVVM, the modal overview is not hidden if window visible is set to false.
http://dojo.telerik.com/@Makla/IcIya/2
Dimo
Telerik team
 answered on 19 Jan 2015
8 answers
90 views
Hi,

We're using Telerik Platform for developing an app for Android and iOS.
There is a crazy issue with the footer in iOS7.

I have created a Ad-Hoc provision certificate with one registered Apple device and tested the app on this device. The StatusBar disappears after loading but i didn't changed anything (on Companion App it works fine). At the first load of the app the footer displays at the bottom correctly but if you rotate to landscape and back then the footer will be hidden for ~20px. At the top, there is a 20px black rule where the normal StatusBar should be shown.

Now i have turned off StatusBar plugin to prevent this issue. But there will be 20px white rule shown at the bottom, which will be OK again if you rotate to landscape and back. 

And as last... i have turned off the landscape mode in the properties but it seems it not works in app installed with a Ad-Hoc provision.

I think you can access our AppBuilder with project ScheidenVertel?
What're we doing wrong?

Jelle
Erick
Top achievements
Rank 2
 answered on 19 Jan 2015
1 answer
280 views
See: http://dojo.telerik.com/aLoYe

I am using kendo editor and it is escaping the html content of the editor when binding to the angular model.

Steps to reproduce:
     1. Modify the content of the editor
     2. Press the "log the html" button
     3. Look at the console output and notice that is is escaped HTML.
Alex Gyoshev
Telerik team
 answered on 19 Jan 2015
2 answers
135 views
Is there a way to validate (submit) on pressing the "Go" key of the iOS virtual keyboard? I tried hooking up to the submit event but it doesn't seem to work. Thanks.
Jay
Top achievements
Rank 1
 answered on 19 Jan 2015
3 answers
274 views
We have a grid where the number and relative widths of columns is unknown and variable.  Thus, the auto-sizing behavior you get with scrollable=false is exactly what we want.

However, with scrollable=false the header row does not remain fixed and thus is not visible when the grid scrolls.

Is there any way to get the fixed column header with the column auto-sizing?
Dimo
Telerik team
 answered on 19 Jan 2015
1 answer
276 views
Hi,

When using Kendo in our team's solution, we parse all of the kendo files to build our own dependency tree. While trying to recently integrate excel export for grids, I noticed two issues with dependencies:

 -  kendo.excel.js references kendo.data.TreeListDataSource, but does not require kendo.treelist, so we get an undefined exception.

 -  Export requires jszip, but jszip is not mentioned as a dependency in any of the kendo files. Can we get those added?

Thanks!

Kiril Nikolov
Telerik team
 answered on 19 Jan 2015
1 answer
138 views
Hi,

We have seen two issues in IE11 (that may exist in other versions of IE too) when we have hidden optional columns and multi-column headers.

Issue 1: Improper alignment when hiding one of the columns under a multi-column header.
Issue 2: Not using space correctly when only showing one normal column and one column under a multi-column header.

These issues are depicted in the attached images, but you can also see them by playing with this jsFiddle in IE: http://jsfiddle.net/Sbb5Z/1593/

Please let us know if you have any patches or if there is a way for us to log these issues. 

Thank you,
Jacob
Kiril Nikolov
Telerik team
 answered on 19 Jan 2015
1 answer
130 views
Hello, 

We've added persist state to our grids but we would like to save the status of the detailed grid, so if you leave a few detailed grids opened, when we come back they are still opened. 

Is this possible?

Regards,
Fernando.
Daniel
Telerik team
 answered on 19 Jan 2015
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?