Telerik Forums
Kendo UI for jQuery Forum
1 answer
145 views
Hi All,

On selection of first drop-down, I am populating second drop-down. In this case, while populating, it is breaking. Please help in this case.
I am attaching the screen shot.

Regards,
Partha.
Iliana Dyankova
Telerik team
 answered on 18 Dec 2012
1 answer
281 views
Hi All,

How to display list-view in kendo window on link click/button click? Immediate help would be appreciated.

Regards,
Partha.
Iliana Dyankova
Telerik team
 answered on 18 Dec 2012
1 answer
604 views
Is it possible to use any sort of parameters in the HTML bindings with the MVVM framework? For instance ...


Assume I have a ViewModel that has two properties; Id and Points, and a function that accepts Id as a paramter.

var viewModel kendo.observable({
    Id"users/1",
    Points10,
    ReducePointsfunction(id{
        console.log(id);
    }
});
kendo.bind(document.bodyviewModel);​


and I want to use one of these variables in a click data-binding.

<div data-bind="text: Id"></div >
<div data-bind="text: Points"></div >

<div data-bind="click: ReducePoints(this.Id)">Click Here</div>
​

Is there any possible way to do that? To use the view model's properties - or to pass parameters through the bindings?
Vladimir Iliev
Telerik team
 answered on 18 Dec 2012
1 answer
302 views
I have followed the demo of "grouped" data and I can successfully get 3 dynamically loaded datasets to display on a line graph.  Hooray.  But each of the series should be using a different scale.  How can I map each series dynamically to different scales? 

Maybe there is someway to use the GroupNameTemplate syntax ("#group.value#") in the .Axis() setting to get it set correctly?  I've tried that but it's not working.

Maybe I should be using something other than Grouped data?
Iliana Dyankova
Telerik team
 answered on 18 Dec 2012
1 answer
140 views
Hello,
while using on mobile browser (chrome, firefox) Android 3.2, ListView with inline edit and databinded controls, returns the last focused control no value back to model-element when i save.
It seems so last control fire no change event without losing focus

Any suggestions?
Alexander Valchev
Telerik team
 answered on 18 Dec 2012
1 answer
192 views
Please reference the attached file.  

Creating an ObservableObject hierarchy yields an Object rather than an Observable for data members that start with the underscore character.

To reproduce, load the attached file, place a break point on line 31 which reads:
var root2 = vm2.get('_root');

Observe that root1 and root2 have been created using identical techniques, except that root2 has a member who's name starts with the underscore (i.e. _root).  Observe that root1 is an observable while root2 is an object.  Step over this line and note that the bind to the change event fails because root2 is not an observable.

How can one build a viewmodel when some members of the object hierarchy start with an underscore?
Rosen
Telerik team
 answered on 18 Dec 2012
10 answers
327 views
Heya,

I have a problem with the

 

scrollview widget. In this demo I want to change the options ( Photo Album,Cities, Sunset) each time I change the photo in the scrollview. For example, for each photo(city) I want to provide a small description about the city below the separation line. Does anyone have any suggestion?

-Afxe
Petyo
Telerik team
 answered on 18 Dec 2012
5 answers
8.7K+ views
I ve got a kendo grid and i want to a dblclick event on each row

$('tr').dblclick(function() { alert('hola'); });

But this doesnt work. If i want a dobleclick event o all table i can use 
$('table').dblclick(function() { alert('hola'); }); and this works.

What is it the problem?

I try to debug javascript y chrome and the first code ( $('tr').dblclick(function() { alert('hola'); }); ) works and 
can select different rows.
 
The same problem ocurrs with click event.
Daniel
Top achievements
Rank 2
 answered on 18 Dec 2012
2 answers
1.2K+ views
I have a button inside a <form> that always submits the entire form, even though it's not a submit button.

HTML:
<button id="button-app-preview" class="k-button">Oppdater</button>

JS:
$("#button-app-preview").click(preview);
function preview() {
    $("#app-preview").html(template({
        overskrift: $("#input-overskrift").val(),
        ingress: $("#input-ingress").val(),
        brodtekst: $("#input-brodtekst").val(),
        bildeurl: $("#bilde-sti").val()
    }));
}

Any ideas how come this button when clicked, first performs the preview() function, but then after it submits the entire form?
Robin
Top achievements
Rank 1
 answered on 17 Dec 2012
3 answers
146 views

IN kendo.core.js v2012.1.322
File :
// Internet Explorer does not support setting the innerHTML of TBODY and TABLE elements
        try {
            table.innerHTML = "<tr><td></td></tr>";

            /**
             * Indicates whether the browser supports setting of the &lt;tbody&gt; innerHtml.
             * @name kendo.support.tbodyInnerHtml
             * @property {Boolean}
             */
            support.tbodyInnerHtml = true;
        } catch (e) {
            support.tbodyInnerHtml = false;
        }


IN kendo.web.js2012.1.322
File
var tbodySupportsInnerHtml = kendo.support.tbodyInnerHtml,
if (tbodySupportsInnerHtml) {
                that.tbody[0].innerHTML = html;
            } else {
                placeholder = document.createElement("div");
                placeholder.innerHTML = "<table><tbody>" + html + "</tbody></table>";
                tbody = placeholder.firstChild.firstChild;
                that.table[0].replaceChild(tbody, that.tbody[0]);
                that.tbody = $(tbody);
            }

Atanas Korchev
Telerik team
 answered on 17 Dec 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
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?