Telerik Forums
Kendo UI for jQuery Forum
4 answers
132 views

Hi, I have a few question about the aggregations feature of the Kendo grid. I've attached a picture to you that it will be easier for me to explain my requirements.

My question is if i want to apply the paging on this grid that summation values will be the summation of current page. Is it possible i can calculate it on server side and populate the sum result into the bottom row on Kendo grid?

 

 

Congyuan
Top achievements
Rank 1
 answered on 10 Dec 2015
1 answer
516 views

The saveAsExcel() method, with allPages = true, on the Kendo UI Grid is silently failing for me when trying to export around 35,000 rows in Chrome.  IE 11 saves the file as expected.  Trying to save approximately half of the rows in Chrome works.  It appears to be limited by the client-side save operation (Chrome will save the file if forceProxy = true).  The exported XLSX file is approximately 1.5MB on disk.  Any ideas or known limitations related to file size would be appreciated.

Browser: Chrome 47.0.2526.80 m

OS: Windows 2008 R2

Kendo UI: v2015.3.1111

jQuery: v2.1.4

Daniel
Telerik team
 answered on 10 Dec 2015
1 answer
213 views

The documentation shown here: http://docs.telerik.com/kendo-ui/web/datepicker/overview#disable-dates

The 'Open in Dojo' link takes you to Dojo where the code doesn't work as advertised.

 I tried writing my own and it still doesn't work: http://dojo.telerik.com/IYiJe/13

 

I tried just setting disabledDates: true and there were still no disabled dates.

 

What am I doing wrong?

Kiril Nikolov
Telerik team
 answered on 10 Dec 2015
2 answers
79 views

In the month view of the scheduler there is a code accessing the task title without checking if it is null, line 62 in "kendo.scheduler.monthview.js".

        EVENT_TEMPLATE = kendo.template('<div title="#=title.replace(/"/g,"&\\#34;")#">' +
                    '<div class="k-event-template">#:title#</div>' +
                '</div>');

so if there is a task with a null title (why someone will enter a task without a title :) ) the entire month view will not work.

Kareem
Top achievements
Rank 1
 answered on 10 Dec 2015
1 answer
90 views

I want to do this, which is a way to run content into a Kendo client side template:

<script type="text/x-kendo-template" id="layout-template">
 layout template here
</script>

<script type="text/x-kendo-template" id="appDetails-template">

content here

</script>

 

How does the content get assinged to the template? I have no placeholder within the layout template for the content to be run into therefore it isn't displaying

Magdalena
Telerik team
 answered on 10 Dec 2015
1 answer
170 views

Hey folks, 

got a question around using angularjs directives to do in-cell editing in the kendo grid.

I've been using this piece of code to do in-cell editing with drop down lists.

 $scope.dropDownEditor = function (container, options) {
        $('<input data-text-field="Desc" data-value-field="Code" data-bind="value:' + options.field + '"/>')
        .appendTo(container)  .... });  };

 

Now - I want to use the same approach with an angularjs directive, this directive is a pop up window that allows the user to do some calculations and then return the value.  This is what that code looks like

$scope.matrixEditor = function (container, options) {
$('<risk-matrix obj-attr="options.field"></risk-matrix>').appendTo(container);

 This directive accepts the objAttr  which should be the object reference like shown in the directive declaration

restrict: 'E',
        scope: {
            objAttr: '='
  },

The idea is that I can pass that reference so it can be set via the modal dialog, but I can't get it to work. objAtrr is always undefined.

I've tried several variation of this line ( $('<risk-matrix obj-attr="options.field"></risk-matrix>')) but nothing works.

Is this even possible?

 

Any helps would be really appreciated

Rosen
Telerik team
 answered on 10 Dec 2015
3 answers
442 views

My project requires a MultiSelectBox.

I have found an addon build on KendoUI DropDownList widget here:
http://www.telerik.com/forums/multi-select-with-checkboxes-plugin

I have changed the code to work with KendoUI version 2015.1.429.
(I believe it works with later versions, too.)

Please see my code:
http://dojo.telerik.com/@DUKEiLL/OziqE

How can I add a filter option to this addon so it works properly?

Thank you,
Daniel.

Nencho
Telerik team
 answered on 09 Dec 2015
1 answer
108 views

Hello,

 Is it possible to have some points use the standard marker shapes and only use custom visuals for data points that meet certain conditions? I can fake it by using the Kendo.Drawing classes to draw circles but it seems like there would be a simpler way. Plus the bigger issue is handling what happens when the cursor hovers over the point. I have used this page as my starting point.

 

Thanks,

 

Greg

Daniel
Telerik team
 answered on 09 Dec 2015
1 answer
297 views

I'm creating an application where I need to visualize multiple times in the same item.  Basically, I have a departure time, start time, and end time and I want to have one color from the departure time to the start time, and another color from the start time to the end time.  This is very similar to the Gantt control where you can adjust the percentage, but rather than a percentage I want it to be from one time to another time.  The attached picture shows what the Gantt looks like.

 

Georgi Krustev
Telerik team
 answered on 09 Dec 2015
3 answers
1.4K+ views
I have attempted to set the "date" in scheduler using the following:

var startDate = Date.parse(start);
var scheduler = $("#scheduler").data("kendoScheduler");
scheduler.setOptions({ date: startDate });
scheduler.view(scheduler.view().name);

When the scheduler widget displays, the current week, or day is shown. I currently do not have the date: or startTime: fields in my scheduler definition.

$("#scheduler").kendoScheduler({
    // Cannot edit tasks in schedule
    editable: false,
    // Define allowable scheduler views
    views: [
        { type: "day",
            dateHeaderTemplate: kendo.template($("#header-template").html())
        },
        { type: "week",
            dateHeaderTemplate: kendo.template($("#header-template").html()),
            selected: true
        },
        "month"
    ],
    footer: false,
    // Define how the hours are displayed
    majorTimeHeaderTemplate: kendo.template("<strong>#=kendo.toString(date,'HH')#</strong><sup>00</sup>"),
    eventTemplate: $("#event-template").html(),
    // 2 ticks between hours
    minorTickCount: 2,
    resources: [
        {
            field: "segment",
            dataSource: []
        }
    ],
    navigate: scheduler_navigate
});
Georgi Krustev
Telerik team
 answered on 09 Dec 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?