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

The SplitView control is very cool. Is there any plan in the future that allows SplitViews to be nested in another view (such as TabView)? All our requirements (and designs) are currently based on this (see attached screenshot for example). Alternatively is there another way that 2 views can be hosted on same screen in a master/detail fashion?

Thank you.
Alexander Valchev
Telerik team
 answered on 13 Jul 2012
1 answer
755 views
Hello,

I notice that kendo.common.min.css contains classes named "editor-field" and "editor-label" that conflict with ASP.NET MVC's scaffold-generated CSS classes.  Was this an oversight or intentional?
Dimo
Telerik team
 answered on 13 Jul 2012
0 answers
115 views
Hi,

I have a kendo Window, where the close, maximize , minimize icons are not getting displayed properly.
This occured when I made a change in the css(common.min.js and black.min.js), where I changed the k- components to a- components. I made the change in kendo.web.js and kendo.min.js. But everything works fine except for the icons for close, minimize, maximize and their respective functionality. Can anyone tell me where else would i need to make the respective changes.
Pooja
Top achievements
Rank 1
 asked on 13 Jul 2012
0 answers
100 views
I'm implementing the kendo.drag component on the endless scroll. The idea is to auto-hide the nav bar and tab strip on scroll up and re-show on scroll down (Like some native apps are doing.)

This code seems to work pretty well on the phone but when I test in a browser the page won't scroll. I know the events are being fired when I add alerts but the page stays unscrollable. Any ideas?

Thanks.

function hideNavBarsOnScroll() {
 
    var ggPosn = '0';
    var log = '';
    var drag = new kendo.Drag($('#endless-scrolling'), {
        start: function (e) {
            if (e.y) {
                ggPosn = $('#endless-scrolling').offset().top;
            }
        },
        move: function (e) {
            if (e.y) {
                if ($('#endless-scrolling').offset().top < ggPosn) {
                    if ($('#homeview header').is(':visible')) {
                        $('#homeview header').slideUp('slow');
                        $('#homeview .km-footer').attr('style', 'position:absolute;').animate({ 'bottom': '-' + $('#homeview .km-footer').height() + 'px' }, 'slow', function () { });
                    }
                } else {
                    if ($('#endless-scrolling').offset().top > ggPosn) {
                        if ($('#homeview header').is(':visible') == false) {
                            $('#homeview header').slideDown('slow');
                            $('#homeview .km-footer').attr('style', 'position:absolute;').animate({ 'bottom': '0px' }, 'slow', function () { });
                        }
                    }
                }
            }
        },
        end: function (e) {
            if (e.y) {
                ggPosn = $('#endless-scrolling').offset().top;
            }
        }
    });
 
}
Ben
Top achievements
Rank 1
 asked on 13 Jul 2012
2 answers
257 views
it seems like there might be some issues with the kendo.common.min.css stylesheet, where it affects objects that are not just kendo related?  Implementing this stylesheet has changed the ordering of several of my tables and divs that are NOT involved with kendo in any way.  I'm using 2012.2.710.  I'm by no means a CSS expert, but i was able to narrow down what was causing the issue by removing each of my stylesheets one by one. 

Shouldn't this stylesheet only affect kendo controls?
Sean
Top achievements
Rank 1
 answered on 12 Jul 2012
0 answers
166 views
I have tried the following:

var tourt = kendo.template('<tr><td>${TotalRegistration=MemberRegistrationCount+GuestRegistrationCount}</td></tr>');
var tourh = '<table id="tourg"><thead><tr><th># Registered</th></tr></thead></table>';

tourngrid = $('#tourg').kendoGrid({ rowTemplate: tourt }).data('kendoGrid');

$('#minUsers').kendoNumericTextBox();
$('#goFilter').click(function() {
            tourngrid.dataSource.filter({filter: { field:"TotalRegistration", operator:"ge", value:$('#minUsers').data('kendoNumericTextBox').value()}});
});

Amazingly the assignment in the row template still reports the correct number in the grid column.  But it does not execute the filter using that assigned variable defined in the template.

Is there a way to sum two columns and use the result in the grids filter?




Guy
Top achievements
Rank 1
 asked on 12 Jul 2012
0 answers
69 views
Can someone send me an example of Master Detail for mobile list view.
I am trying to work with xml datasource and on list view selection on master , need to filter the xml to display the detail.
Preeti
Top achievements
Rank 1
 asked on 12 Jul 2012
0 answers
152 views
Can someone send me an example of Master Detail for mobile list view.
I am trying to work with xml datasource and on list view selection on master , need to filter the xml to display the detail.
Preeti
Top achievements
Rank 1
 asked on 12 Jul 2012
2 answers
329 views

I have an issue with binding the click event to a label in a template.

I’ve posted issue on JSFiddle: http://jsfiddle.net/scornell10/JFTbk/

When you select an item in the DataGrid, it is moved to the ListView.

The ListView uses a template that has a label (with the value of X) that I bind the click event too.

The bind works for 1st or the last selection.

If I select multiple, only the last item in the listView has the click event bind to it. All the others go away.

I’ve used Chrome dev tools and I can see the click event disappear when I add another item.

I can get a workaround by changing the template to:

<label>${Name}</label><label id="${ID}" onClick="onDelete(this);">X</label>

I’d rather bind dynamically as each item is selected.

Any thoughts on why it seems to remove the click handler?

Thanks

Scott
Top achievements
Rank 1
 answered on 12 Jul 2012
1 answer
314 views
This is from your "Getting started" page:
<!-- View -->
<div id="view">
<!-- The value of the INPUT element is bound to the "firstName" field of the View-Model.
When the value changes so will the "firstName" field and vice versa. -->
<label>First Name:<input data-bind="value: firstName" /></label>
<!-- The value of the INPUT element is bound to the "lastName" field of the View-Model.
When the value changes so will the "lastName" field and vice versa. -->
<label>Last Name:<input data-bind="value: lastName" /></label>
<!-- The click event of the BUTTON element is bound to the "displayGreeting" method of the View-Model.
When the user clicks the button the "displayGreeting" method will be invoked. -->
<button data-bind="click: displayGreeting">Display Greeting</button>
</div>
<script>
// View-Model
var viewModel = {
firstName: "John",
lastName: "Doe",
displayGreeting: function() {
// Get the current values of "firstName" and "lastName"
var firstName = this.get("firstName");
var lastName = this.get("lastName");
 
alert("Hello, " + firstName + " " + lastName + "!!!");
}
};
// Bind the View to the View-Model
kendo.bind($("#view"), viewModel);
</script>

You can actually condense these lines:
// Get the current values of "firstName" and "lastName"
          var firstName = this.get("firstName");
          var lastName = this.get("lastName");
 
          alert("Hello, " + firstName + " " + lastName + "!!!");

into a single line which uses the properties directly instead of calling "get()" and assigning it to a local variable, first.  In other words, this works:
alert("Hello, " + this.firstName + " " + this.lastName + "!!!");

That makes a lot of sense because we should be able to directly use the local properties.  However, this does not work if you wanted to clear the input:
this.firstName = '';

You have to use this, instead:
this.set("firstName", '');

which seems strange.  So, my questions are:

1)  Is there a reason why you didn't directly use the properties (e.g. "this.firstName" instead of "var firstName = this.get('firstName');") in the demo?  Is there a downside to doing it that way?
2)  Is the fact that we can't "set" local properties directly (as we can "get" them) a bug/oversight?

Thanks.
Michael
Top achievements
Rank 1
 answered on 12 Jul 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?