Telerik Forums
Kendo UI for jQuery Forum
1 answer
161 views
The slider is not being formatted properly in Google Chrome (using version 28.0.1500.72).  A very basic example is available at
http://www.truckdown.com/slider.html.  Works fine in all browsers but Google.  Interestingly, the exact same code in JS Bin or jsFiddle works fine but when loaded on its own page, it does not format properly (slider bar or ticks do not show).



Iliana Dyankova
Telerik team
 answered on 30 Jul 2013
1 answer
323 views
Given I have an input element that has already been converted to a color picker.  ( ex: $(input).kendoColorPicker(); )

  1. How do i get a reference to that color picker to say set the value?
  2. Destroy that color picker?

Thanks,
Jason

Holger
Top achievements
Rank 1
 answered on 30 Jul 2013
1 answer
100 views

Hi,  I'm trying to implement Scheduler in a MVC4 Razor project...
I follow the sample in your project, but i can't make appointment show.
Post some code:

public ActionResult Gantt()
{
    ViewBag.Message = "GANTT";
 
    return View(ganttService.GetGantt());
}
 
public virtual JsonResult Read([DataSourceRequest] DataSourceRequest request)
{
    return Json(ganttService.GetGantt());
}

 

public class GanttViewModel : ISchedulerEvent
   {
       public string Description
       {
           get;
           set;
       }
 
       public DateTime End
       {
           get;
           set;
       }
 
       public bool IsAllDay
       {
           get;
           set;
       }
 
       public string RecurrenceException
       {
           get;
           set;
       }
 
       public string RecurrenceRule
       {
           get;
           set;
       }
 
       public DateTime Start
       {
           get;
           set;
       }
 
       public string Title
       {
           get;
           set;
       }
   }

 

public virtual IQueryable<GanttViewModel> GetGantt()
{
    List<GanttViewModel> retValue = new List<GanttViewModel>();
 
    GanttViewModel md1 = new GanttViewModel {  Title = "TIT1", Description = "DES1", Start = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc), End = DateTime.SpecifyKind(DateTime.Now.AddHours(3), DateTimeKind.Utc) };
 
    retValue.Add(md1);
 
    return (retValue.AsQueryable());
}
@(Html.Kendo().Scheduler<
FinitenessEvo.Models.GanttViewModel>()
    .Name("scheduler")
    .Date(DateTime.Today)
    .StartTime(DateTime.Today)
    .Height(600)   
    .Timezone("Etc/UTC")
    .Views(views =>
    {
        views.DayView();
        views.WeekView(weekView => weekView.Selected(true));
        views.MonthView();
        views.AgendaView();
    })
        .DataSource(o => o.Model(m => { m.Id(f => f.Description); }).Read("Read","Home"))
)
Rosen
Telerik team
 answered on 30 Jul 2013
2 answers
183 views
I want to use event ( onSelect) to help me (expand or Collapse ) one node in treeview
pls hepl me do it.
my code here:
(
     function onSelect(e){
             if (this.dataItem(e.node) != null) {
                  this.expand(e.node);
                 this.collapse(e.node);
             }
        }
)
Butter
Top achievements
Rank 1
 answered on 30 Jul 2013
7 answers
134 views
I want to use durandal for my application/mvvm/routing model, so I want to avoid using new kendo.mobile.Application(). In my test SPA, I'm trying to create a tabstrip:
1.<div data-role="tabstrip">
2.    <a href="#home">Home</a>
3.    <a href="#details">Details</a>
4.</div>
However, not only does it not work in my durandal view, i can't even get it to work in my index.html, unless I call kendo.mobile.Application():

01.<body>
02.    <div data-role="view">
03.        <div data-role="tabstrip">
04.            <a href="#home">Home</a>
05.            <a href="#details">Details</a>
06.        </div>
07.    </div>
08. 
09.    <!-- snip -->
10. 
11.    <script>
12.        window.kendoMobileApplication = new kendo.mobile.Application();
13.    </script>
14.</body>

Is there a way I can "activate" the widgets without having to use the Application constructor/kendo views/etc.?




David
Top achievements
Rank 1
 answered on 29 Jul 2013
1 answer
70 views
When I edit a cell in my grid, a zero ("0") is placed in the cell, overlapping the cell value. This zero does not show when the grid loads, and it does not save to the database when the update happens. If I navigate away and come back, the zero is gone. It only happens if I edit the cell; if I only click in the cell and initiate the inline editing, no zero appears. 
My page is an SPA.
Attached is a zoomed in screenshot showing the phantom zero.
This is the code that builds the grid:

    function fnLoadStorageVaults(storageid) {

        var ds = new kendo.data.DataSource({
            transport: {
                read: {
                    url: URL_GETVAULTS,
                    dataType: "json",
                    type: "GET",
                    data: { StorageID: storageid }
                },
                update: { dataType: "json", url: URL_UPDATEVAULTS, type: "POST" },
                destroy: { url: URL_DELETEVAULT, type: "POST" },
                create: { url: URL_INSERTVAULT, type: "POST" },
                parameterMap: function (data, type) {
                    return kendo.stringify(data);
                }
            },
            autoSync: true,
            schema: {
                model: { 
                    id: "StorageVaultID",
                    fields: {
                        VaultNumber: { type: "string", editable: true },
                        Section: { type: "string", editable: true },
                        Row: { type: "string", editable: true },
                        DateFrom: { type: "date", editable: true },
                        DateTo: { type: "date", editable: true },
                        WarehouseID: { type: "number", editable: true }
                    }
                }
            }
        });
        
        $("#VaultGrid").kendoGrid({
            dataSource: ds
            , sortable: true
            , editable: true
            , navigable: true
            , columns: [
                { field: "WarehouseID", title: "Warehouse", width: "60px" }
                ,{ field: "VaultNumber", title: "Vault Nbr.", width: "60px" }
                , { field: "Section", title: "Section" }
                , { field: "Row", title: "Row" }
                , { field: "DateFrom", title: "Date In" }
                , { field: "DateTo", title: "Date Out" }
            ]
        });

    }
Robert
Top achievements
Rank 1
 answered on 29 Jul 2013
10 answers
535 views
Hello,

Is it possible to highlight a specific point on a line or area chart. For example, if I have a graph showing the number of sandwiches sold each day in a cafe and on the 10th day of the month they raise the price by 5% can I add a marker to the 10th so show that an event happened on that day?

Thanks

Ric

Josh
Top achievements
Rank 1
 answered on 29 Jul 2013
2 answers
719 views
How can I add  Filter to Chart Data source.  I want to build chart that show data for each week in a giving year. The use user will pick date from drop down and the chchart  will get refreshed with new data 
Iliana Dyankova
Telerik team
 answered on 29 Jul 2013
1 answer
180 views
I have a chart with multiple data series and multiple axis similar to http://demos.kendoui.com/dataviz/bar-charts/multiple-axes.html
I want a way to give the user a clue which axis is related to which data series, so I've tried applying colors that visually tie them together. However this approach doesn't work too well with themes (try setting the demo to Black - you can hardly see one of the axes).

So what I'm thinking now is to visually highlight the axis when the user hovers over the data series and/or legend. Similar to the way that hovering over the legend highlights the associated data series. 

Could anyone give me a clue how to do this highlighting? or even any alternative ideas

Iliana Dyankova
Telerik team
 answered on 29 Jul 2013
3 answers
192 views
I'm working on a mobile app were some of the data requests will be cached in localStorage on the device. Depending on the data, I'd like to assign a timeout value for it that would flush the existing value and make new network request. I'm assuming I'll need to set timestamps into localStorage, check them when the data is requested and if its expired, execute a read() on the object to refresh the data.

Would that be a plausible solution or are there features of the framework that I've overlooked for this type of thing?

Petur Subev
Telerik team
 answered on 29 Jul 2013
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?