Telerik Forums
Kendo UI for jQuery Forum
1 answer
586 views
OK, I have an editor form for a record in a datasource.  There is a foreign key in the record that calls out to another table.  To represent the legal values, we are using a dropdown list in the form, populated by a datasource that represents the foreign table.  The HTML looks like this (names have been changed):

<select data-role="dropdownlist" data-value-field="Other_Id" data-text-field="Name" data-bind="source: otherDataSource, value: record.Other_Id"></select>


This is working FINE, and populates the dropdown with the required values.  However, I need to be able to support null values in record.Other_Id.  Right now, if record.Other_Id is null, it instead sets it to the first value in otherDataSource.  That's not cool.

Is there some (ANY!) way for me to get this thing to provide a null option for cases in which record.Other_Id is null?

Thanks for your time!

Tess
Tess
Top achievements
Rank 1
 answered on 14 May 2012
12 answers
1.1K+ views
Hello, how it possible to find and CLOSE all opened kendo.windows ?
Alex Gyoshev
Telerik team
 answered on 14 May 2012
1 answer
163 views
I have encountered an issue where maximizing the window will cause any content aligned to the bottom of the window to be cut off.

Please see a simple jsfiddle of the incorrect behavior: http://jsfiddle.net/jTa5C/9/

-Notice that there should be 20px of space between the edge of the window and the interior green div.  It looks correct when first running, but when you click maximize there is no longer a 20px space between the bottom of the div and the kendo window. 

Is there any way around this?
Alex Gyoshev
Telerik team
 answered on 14 May 2012
0 answers
103 views
Hello,

I am binding over 5000 rows to the pop-up editor,, the loading of fthe records seems to be fine. But when I insert a new row or edit one. Although it successfully runs the "save" and "edit" handler. But after it the screen just get hangs.. But when I reduce the number of rows to around 1000 it just works fine. Screen hangs over rows of over 5000 records.

Also, the filter functionality is fine but the the drop down  in filter does not show up any reason for that?? Attached is the picture of my filter.
Waqas
Top achievements
Rank 1
 asked on 14 May 2012
1 answer
116 views
good morning
I have a problem with the totals row, this row overflows when the grid has the "scrollable: true". 

added the image of the error 
Dimo
Telerik team
 answered on 14 May 2012
1 answer
379 views
Hey,
Im trying to make a column chart which has values either 0 or 1. And the problem im encountering is that in the picture i attached. I turns out the minnimum value has to be 6. Even if I do min:0 max 1 step 1 it just doesnt do the job. Please help
Iliana Dyankova
Telerik team
 answered on 14 May 2012
2 answers
127 views
Hello,

I am working on binding an upshot dataSource to a kendoGrid, using Knockout-Kendo.js
I managed to display the data correctly, by manually configuring which columns to show with what fields, and the grid is refreshed when the underlying data is changed. However I am having trouble with the pagination: the grid is looking at the actual amount of data that upshot has locally, and defines its pages based on that. However, I don't want to get all the data at once with upshot, only one page at a time.

Ex. I have 15 objects on the server, and I set my pageSize in the grid to 5, as well as upshot paging to 5, but with an includeTotalCount so I get back the TotalCount=15. Now, since upshot only has 5 local entities, the grid will only display one page, with these 5 items, even if I set
dataSource: {
 total: dataSource.getTotalEntityCount(), //which returns 15
 pageSize: 5
}

Is there any way I can tell the kendoGrid dataSource to show me the page numbers based on the total number specified, even if no actual data is present? Also, how would I then be able to pass the paging information (take,skip) options down to upshot, so it can make the requests based on those filters?

Thanks,
Szilard
Alexander Valchev
Telerik team
 answered on 14 May 2012
1 answer
94 views
Looking through the full source, I notice that the code is heavily documented.  Wondering:  Though your example-documentations are fairly extensive, it would be useful to have a full reference, especially for users who are building out larger applications.  Is this available anywhere?  Things like 'data-role', etc -- all of this is, on first glance, somewhat vague, and a full API doc would be greatly appreciated.  
Please advise -- 

Kamen Bundev
Telerik team
 answered on 14 May 2012
3 answers
632 views
Hello,

I want to bind a simple span tag to a date field. I need to specify that the date should be formatting as a shortdate, using the current culture. I know I can create a function  on my viewmodel to do the formatting and bind the span to that function.
But that feels a bit as overkill.
Can I specify the format in the data-bind itself somehow?
Something like: <span data-bind="text: {mydatefield:d}"/>

Regards, Jaap
rlapao
Top achievements
Rank 1
 answered on 14 May 2012
2 answers
141 views
Im trying to use KendoUI Autocomplete on JSON.

My AutoComplete got error " Uncaught TypeError: Cannot call method 'toLowerCase' of undefined"

Here is my code test page.
http://community.moohin.com/test_auto.html 

It's use remote DataSource from follow url 
http://community.moohin.com/run/auto.php 

Data return from this url is fix to 
[{"tag":"item1"},{"tag":"item2"},{"tag":"item3"}] 

I try to solve this for 4 hours.  still fail. T_T

Any Ideas?
Relative
Top achievements
Rank 1
 answered on 13 May 2012
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
Form
MaskedTextBox
View
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
ArcGauge
AICodingAssistant
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?