Telerik Forums
Kendo UI for jQuery Forum
0 answers
124 views
I'm using the bind to remote data functionality of the tree view control as found in this demo:  http://demos.kendoui.com/web/treeview/remote-data.html and I was wondering if it's possible to pre-load child nodes.

When I expand a node that has children in the demo; a progress spinner is shown and an AJAX request is made and brings back the child nodes. I would like to load the next set of child nodes in the background before the node is expanded so that the user does not see the spinner and the tree view seems more responsive, this means that when a node is expanded the next 2 levels are brought back instead of just the next immediate level.

Is this possible?

Thanks,
Jimmy
Jimmy Rustler
Top achievements
Rank 1
 asked on 19 Nov 2012
1 answer
165 views
Hi! We use Kendo UI framework for our application, but I can't use DataWiz for showing data. I need to show data as "step line" chart. You can view example in attach file (highstock charts used) or in action at jsfiddle
Do you have plans to implement this chart type?
Iliana Dyankova
Telerik team
 answered on 19 Nov 2012
0 answers
57 views
Hi,

I used the following code for deleting record or row in the grid :-
 $("#grid").on("click", ".k-grid-delete", function(e){
                      
                                  
                               var listTitle = "GraniteTestList";
                                context = SP.ClientContext.get_current();
                                if(id!==null || id !== "")
                                {
                              var list= context.get_web().get_lists().getByTitle(listTitle);
                              var listItem = list.getItemById(id);
 
                                  listItem.deleteObject();

                              context.executeQueryAsync();
                              }
                             
                                        
                        
                            //alert(id);
                       });


It works finely, but after deletion of grid row the sharepoint page also get deleted.
I have been bothered why this is really happening?
Please provide the appropriate guidance.
Thanks in advance.
Kalpesh
Top achievements
Rank 1
 asked on 19 Nov 2012
1 answer
115 views
There appears to be a bug in the recent Kendo UI Web 2012.3.1114 release in regards to the Calendar control. When navigating the calendar using the arrows to go from month to month the calendar is highlighting a day in each month. When inspecting the highlighted cell, the attribute 'aria-selected' is on the TD element that is being highlighted. It appears to have the styles defined by the "k-state-focused" css rule.

Steps to recreate.
1) Go to http://demos.kendoui.com/web/calendar/index.html (today's date is 11/16/2012)
2) Click the left arrow to go to October
3) Notice that October 16 is highlighted gray
4) Click left again to go to September
5) Notice Sept 16 is also highlighted gray

Environment:
- Windows 7
- Firefox 16, IE 9, and Chrome
Georgi Krustev
Telerik team
 answered on 19 Nov 2012
3 answers
207 views
In the Nov 14 nightly build, there is a regression issue. The tabs now stretch to fit the width of the strip on ie10 and Chrome 23 on the pc. 
Kamen Bundev
Telerik team
 answered on 19 Nov 2012
3 answers
143 views
I don't know if you have even considered this but I have an idea how you could in fact speed up this.

These guys make a GANTT scheduler tied to ExtJS but as far as I know, it is an independent Vendor.
Any chance you could ask this company to spread out so to speak and do something for KendoUI? I think his components look stellar.

http://www.bryntum.com/?gclid=COL_m-y-07MCFfJ2cAodbWgABQ
Klas
Top achievements
Rank 1
 answered on 19 Nov 2012
1 answer
105 views
When forcing platform ios on android, all icons are squares using Q3 release. However, forcing platform blackberry on android works perfectly fine.
Kamen Bundev
Telerik team
 answered on 19 Nov 2012
2 answers
348 views
I have a requirement for BOTH axes to show a string label. My problem is that I need the value axis to show a string label the way the category axis does by default. The column chart below renders the tooltips correctly when I use the: template: "#= dataItem.ProductName #". If I try to use the dataItem property in the LABELS template section, it's not there. I realize that the value axis must be numeric. That is fine. What I need is to replace the y-axis numeric value label with it's non-numeric label contained in the model. There simply must be a way to intercept that label and convert it to a string.  For example.. template : #= (value==3) ? 'string' : 'string' # . Or maybe an event, even an internal event. Do I have to examine the chart AFTER it is rendered and find labels and then replace them with jQuery?

The model is
CategoryName(string) category axis
ProductName(string) // need THIS label
ProductId(int) //value axis

$("#Chart").kendoChart({
    theme: "default",
    title: {
        text: "Product Categories"
    },
    legend: {
        position: "bottom"
    },
    seriesDefaults: {
        type: "column"
    },
    series: [{
        name: "Product",
        field: "ProductId"
    }],
    valueAxis: {
        labels: {
            template: "#=value#" // I need to replace with a NAME
                 // template: "#= dataItem.ProductName #" // this does NOT work
        }
    },
    categoryAxis: {
       field: "CategoryName"
    },
    tooltip: {
       visible: true,
       template: "#= dataItem.ProductName #" // THIS works
    },
    ... omitted
Neil
Top achievements
Rank 1
 answered on 19 Nov 2012
0 answers
268 views
My code is given below
VIEW:-
@model IEnumerable<SampleKendo.Models.TestModel>
@using Kendo.Mvc.UI
@using Kendo.Mvc.UI.Fluent
@using SampleKendo.Models


@(Html.Kendo().Grid(Model)    
    .Name("Grid")
    .Columns(columns =>
    {
        columns.Bound(p => p.Id).Groupable(false);
        columns.Bound(p => p.Name);
        columns.Bound(p => p.Age);
        
        
    })
   
    .Pageable()
   
    .Scrollable()
    .Filterable()
    .Sortable()


     .DataSource(dataSource => dataSource
            .Ajax()
           
              .ServerOperation(false)  
          
            
               .Read(read=>read.Action("GetDepartment","Test")))


        )

Controller:_
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Kendo.Mvc.Extensions;
using Kendo.Mvc.UI;
using SampleKendo.Models;


using System.Web.Mvc;




namespace SampleKendo.Controllers
{
    public class TestController : Controller
    {
        //
        // GET: /Test/


      
        public ActionResult Index()
        {
            return View(GetDepartmentData());


        }




        public ActionResult GetDepartment([DataSourceRequest] DataSourceRequest request)
        {
            return Json(GetDepartmentData().ToDataSourceResult(request), JsonRequestBehavior.AllowGet);
        }


       




        private static IEnumerable<TestModel> GetDepartmentData()
        {
            var db = new DBPULSEEntities();
            return db.DEPARTMENTs.Select(c =>
                                         new TestModel
                                             {
                                                 Id = c.Id,
                                                 Age = c.Age,
                                                 Name = c.Name,
                                                 Birthday = c.Birthday


                                             });
        }
    }
}

I have set the ServerOperation() to false..  but still its not working



When i try to sort, or filter the result is per given in the pic
Arathy
Top achievements
Rank 1
 asked on 19 Nov 2012
0 answers
250 views
Customers who are observing this bug can download the latest internal build to address this.

Since this is a regression, we are providing the patched javascript file that can be used in GPL projects (attached to this post).
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 19 Nov 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?