Telerik Forums
Kendo UI for jQuery Forum
0 answers
102 views
I create template:
<script id="country-template" type="text/x-handlebars-template">
     <p data-country="{{countryId}}">{{countryName}}</p>
</script>
And then i create dropdown for 'editor' function
function countriesDropDown(container, options) {
    $('<input data-text-field="name" data-value-field="id" data-bind="value:' + options.field + '"/>')
                .appendTo(container)
                .kendoDropDownList({
                    autoBind: false,
                    dataSource: countries
                });
}
Then i changed value in dropdown and data-country value is changed, but countryName didn't change. 
How i can change 'countryName' too ?
Jenya
Top achievements
Rank 1
 asked on 20 Apr 2012
0 answers
161 views
// Disregard, I figured it out...//

I have a template that is being loaded via a JSON file.  My JSON file contains data I would like to use to set CSS parameters in the rendered html.  

Is it possible to have a function inside the template that performs a calculation on the JSON data and them uses the result to modify a CSS parameter?
Mike
Top achievements
Rank 1
 asked on 20 Apr 2012
3 answers
143 views
I would like to be able to call the Open event when my control has focus and the user presses the down key, Does anyone have an idea on how I can do this?
Georgi Krustev
Telerik team
 answered on 20 Apr 2012
1 answer
260 views
Is there any reason that we have to use proprietary attributes (min/max) for configuring numeric textbox controls in markup rather than using data- attributes (data-min, data-max)? Using the data- attributes would be an html5 compliant solution, whereas min/max is not compliant in html4 or 5.
Georgi Krustev
Telerik team
 answered on 20 Apr 2012
2 answers
216 views
Hello all - please let me know if there is a better suited forum for this question.

Can anyone provide insight into a comparison of KendoUI vs the Xamarin cross platform dev tool?

thank you
Frank
Top achievements
Rank 1
 answered on 20 Apr 2012
0 answers
186 views
Hi

I want drag & drop  feature on div element. Assuming user can select 1 div created at runtime in html & can drop at any where on screen. This div element is created through template provided with source. Problem is i don't want use id attribute in div element. Below is my code assuming source : SomeSourceThroughJson contains proper Json data.

<

 

 

div id="my" data-template="myTemplate" data-bind="source: SomeSourceThroughJson" ></div>

<script id="myTemplate" type="text/x-kendo-template">
<div class="myTemplateContainer" data-bind="click:CallDraggableFunction" >
<p data-bind="text: Property1" />
<p data-bind="text: Property2" />
</div>
</script>

 


 
Vinod
Top achievements
Rank 1
 asked on 20 Apr 2012
1 answer
116 views
I have a simple grid with 3 columns. When I click Add a new record, only column 1 is available. If I save it and then edit that same row then all three columns are available.

On a side note, I tried to get a fiddle example working to post. The page attached works as expected, the fiddle is buggier. The code is teh same and I don't know if it is a limitation of Fiddle, or if I configured it wrong. If you can point out the problem with fiddle I would appreciate it. The working code is in the zip file.

http://jsfiddle.net/randyallen/sXHkY/7/

Thanks Randy
Alexander Valchev
Telerik team
 answered on 20 Apr 2012
1 answer
101 views
I'm Henry and new at this forum. I want is your price ranges if the it is 5 pages?
Sebastian
Telerik team
 answered on 20 Apr 2012
0 answers
147 views
FIrst I would like to load a JSON datasource and populate the tree view.

Next I would like to edit the tree view, by modifying, adding or deleting the nodes and items in the tree view.

Lastly, I would like to save the tree view as an JSON object.

Do you have any sample JSFiddle to illustrate this example?

Thanks!
George
Top achievements
Rank 1
 asked on 20 Apr 2012
3 answers
202 views
Hello,

I want to know if I can show a message in my chart ; when my datasource is empty.
Saying that there are no records


Regards,

M.
Iliana Dyankova
Telerik team
 answered on 20 Apr 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
Drag and Drop
Application
Map
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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?