Telerik Forums
Kendo UI for jQuery Forum
3 answers
58 views
I'm trying to use month view. I can't to select any cells at 3 and 5 lines of the scheduler, clicking on cell it selected another cell. I noticed it in FF, in IE and Chrome seems working good.
I measured document:  width = 1536 height = 731.
Div of scheduler: width = 1305 height = 557
Is it issue with responsive design?
Georgi Krustev
Telerik team
 answered on 25 Aug 2015
3 answers
323 views

I am using Angular JS + Kendo UI and OData.  I am creating gift order charts by Year, Month, Week and Day.  We have the gift purchase date as well as the date that the gift cards were redeemed.  For example, in the Month chart I want to show for THIS month, what gift cards were purchased and which were redeemed.

The data looks like this:

{
odata.metadata: "http://.../odata/$metadata#Order",
odata.count: "1",
value: 
[
{
OrderID: 5,
MerchantID: 3,
Amount: "100.0000",
PurchaseDate: "2015-04-29T13:23:01.487",
PurchaserZipCode: "02050",
RecipientName: "Test",
Redeemed: true,
RedeemedDate: "2015-08-06T14:50:11.37"
}
]
}​

 

  //set the bar chart configuration
    $scope.chartConfig = {

        legend: {
            position: "top"
        },
        seriesDefaults: {
            type: "column",
            labels: {
                visible: true,
                format: "${0}"
            }
        },
        seriesColors: ["#af8520", "#6c5644", "#612751", "#e47f8f", "#eba1ad",
                                  "#009bd7", "#26aadd", "#4db9e3", "#73c8e9", "#99d7ef"],
        series: [
            {
            name: "Purchased",          
            field: "Amount",
            aggregate: "sum",
            categoryField: "PurchaseDate"
        },
        {
            name: "Redeemed",
            field: "Amount",
            aggregate: "sum",
            categoryField: "RedeemedDate"
        }
        ],
        valueAxis: {
            labels: {
                format: "${0}"
            },
            line: {
                visible: true
            },
            axisCrossingValue: 0
        },
       
        tooltip: {
            visible: true,
            format: "${0}",
            template: "#= series.name #: $#= value #"
        }
    };

The HTML element sets the base unit:

  <div id="monthchart" k-data-source="monthoforders" kendo-chart k-options="chartConfig" k-category-axis="{ baseUnit: 'weeks'}"> </div>​

 

Unfortunately, the result isn't quite what I want (see attached grid). I only want to show results for this month (i.e. August 2015), so I should only see the redeemed amount bar (since it was redeemed in August), not the purchase bar (because that was in April).  

I feel like I am missing something easy in how to tell the chart to only show series data for a particular period (i.e. for the month of August 2015).  Is this possible? I was thinking if I could set a min date range it would ignore the purchase data and still show the redeemed data?

Thanks in advance for your time,

Jayme

 

 

Iliana Dyankova
Telerik team
 answered on 25 Aug 2015
6 answers
266 views
Where can I download the 2015 Q1 Kendo UI?
Ankur
Top achievements
Rank 1
 answered on 25 Aug 2015
5 answers
272 views
I have a stack of divs with data-role="collapsible" and I'm trying to get an auto-scroll to work in the data-expand event. I can't seem to figure out how to do this. Basically, I just want to auto scroll the div to top of the current view minus 100px. Any ideas on how to do this? I've spent hours trying to figure this out.
Alexander Valchev
Telerik team
 answered on 25 Aug 2015
1 answer
305 views

I have a template column with a filter that is not working.  All of my other columns are filtering fine.  When I try to filter on the column below, I get an error concerning "toLowerCase" and it being a proper javascript function.

 

columns: [{

 

template: "<div style='text-align: center'><a href='/ChangeRequest/Details/#:data.request_id#'>#:data.request_id#</a></div>",

field: "request_id",

title: "No.",

 

 

width: 75,

 

filterable: false

 

 

}, {

 

//template: "<a href='/ChangeRequest/Details/#:data.request_id#'>#:data.short_description#</a>",

field: "short_description",

title: "Description",

 

 

width: 225

}, {

 

...more columns...

 

Error:  Unhandled exception at line 610, column 1 in Function code

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'toLowerCase'

 

The error is in Kendo.all.min.js

 

Thanks

 

 
 
Dimiter Madjarov
Telerik team
 answered on 25 Aug 2015
1 answer
128 views

In our application we have a Kendo Editor that is disabled and has some URLs in the content.

The URLs are working find in IE.

But in Chrome, when the user clicks any url, nothing happens. However, if the user clicks any URL again it works fine.

Could you please help.

Atanas Georgiev
Telerik team
 answered on 25 Aug 2015
2 answers
1.7K+ views

Hello! I am trying to have a button that adds a row on a grid, that is in GridEditMode.PopUp. However, this button is outside of the grid. Right now I have this:

$("#add").click(function () {
        var grid = $("#grid").data("kendoGrid");
        if (grid) {
            var dataSource = grid.dataSource;
            var total = dataSource.data().length;
            dataSource.insert(total, {});
            dataSource.page(dataSource.totalPages());
            grid.editRow(grid.tbody.children().last());
        }
        return false;
    });
 

but this only displays my popup for a second, before it disappears. If I remove "return false;", the page reloads (as expected). How can I achieve the solution?

 Thanks, 

Manuel

Dimiter Madjarov
Telerik team
 answered on 25 Aug 2015
1 answer
134 views

I´m trying to implement a paging mechanism like this:

http://demos.telerik.com/kendo-ui/grid/virtualization-remote-data

using json data that has a hierarchical structure like this:

{
   "issue_list":[
      {
         "issue":{
            "href":"issue/1",
            "subject":"some text",
            "body":"some more text"
         }
      },
      {
         "issue":{
            "href":"issue/2",
            "subject":"some other text",
            "body":"some more other text"
         }
      }
   ]
}

 

Is this possible to do if I specify the structure in the schema in some way? 

This post: 

http://stackoverflow.com/questions/14731949/what-must-my-kendo-datasource-schema-look-like

implies that the data structure can not be hierarchical? Is this still true?

 ​

Kiril Nikolov
Telerik team
 answered on 25 Aug 2015
4 answers
134 views

This is a feature request from our client.

We are generating gantt diagrams for multi-year projects, thus our diagrams are quite large. It would be very helpful for us to display only relevant data if empty timeline columns could be collapsed.

Consider the two example screenshots attached:

  1. The project actually starts on 18.10.2012, but since I have chosen the "year" view, it displays the first 9 months on the year as well. This also applies when you have a date early in the next year, e.g. 10.01.2016, where the entire year of 2016 would be show
  2. Between the third milestone and the one displayed on the screenshot are 7 months where nothing happened in the project

I envision this could be solved nicely by introducing a setting in the "views" property defining a threshold after which the date cols should be collapsed. By putting it in the "views" section, it would work regardless of the view.

Example:

views: [
  {
    type: 'month',
    slotSize: 56,
    // in month view, this would mean 4 weeks
    collapseColumnThreshold: 4,
    collapseColumnTemplate: '...'
  },
  {
    type: 'year',
    slotSize: 50,
    // in year view, this would mean 2 months
    collapseThreshold: 2,
    collapseColumnTemplate: "#= kendo.toString(collapseStart, 'MMM') + ' - ' + kendo.toString(collapseEnd, 'MMM') #"
  }
],

Dimitar Terziev
Telerik team
 answered on 25 Aug 2015
2 answers
72 views
Sorry I am new here, if possible change range schedule from 30 min to 15 min with 4 line by hour ????
Eduardo
Top achievements
Rank 1
 answered on 24 Aug 2015
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
Application
Map
Drag and Drop
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?